Skip to content

fix(site): remove URL content sharing - #267

Merged
hustcc merged 1 commit into
mainfrom
fix/remove-url-share-xss
Oct 20, 2026
Merged

hustcc merged 1 commit into
mainfrom
fix/remove-url-share-xss

Conversation

@hustcc

@hustcc hustcc commented Oct 20, 2026

Copy link
Copy Markdown
Member

No description provided.

- 移除 script、foreignObject 等危险标签
- 过滤事件处理属性和不安全协议链接
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.57%. Comparing base (2ea1894) to head (10b2d18).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #267      +/-   ##
==========================================
+ Coverage   51.50%   51.57%   +0.06%     
==========================================
  Files         343      343              
  Lines       28711    28750      +39     
  Branches     2696     2705       +9     
==========================================
+ Hits        14788    14827      +39     
  Misses      13912    13912              
  Partials       11       11              
Flag Coverage Δ
infographic 51.57% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/resource/loaders/svg.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hustcc
hustcc merged commit 5ae0d93 into main Oct 20, 2026
3 checks passed
@hustcc
hustcc deleted the fix/remove-url-share-xss branch October 20, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants