Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to sanitize HTML panes #5516

Merged
merged 3 commits into from
Sep 15, 2023
Merged

Add options to sanitize HTML panes #5516

merged 3 commits into from
Sep 15, 2023

Conversation

philippjfr
Copy link
Member

Since HTML panes are a potential vector for XSS attacks we add the ability to automatically sanitize HTML panes.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #5516 (2daca18) into main (a640d70) will increase coverage by 11.09%.
The diff coverage is 89.47%.

@@             Coverage Diff             @@
##             main    #5516       +/-   ##
===========================================
+ Coverage   72.46%   83.55%   +11.09%     
===========================================
  Files         276      276               
  Lines       40233    40247       +14     
===========================================
+ Hits        29153    33627     +4474     
+ Misses      11080     6620     -4460     
Flag Coverage Δ
ui-tests 41.45% <42.10%> (?)
unitexamples-tests 72.38% <89.47%> (-0.08%) ⬇️

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

Files Changed Coverage Δ
panel/reactive.py 80.85% <33.33%> (+0.93%) ⬆️
panel/pane/markup.py 90.04% <100.00%> (+0.25%) ⬆️
panel/tests/pane/test_markup.py 99.45% <100.00%> (+0.02%) ⬆️
panel/util/__init__.py 87.71% <100.00%> (+2.91%) ⬆️

... and 71 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit bafe011 into main Sep 15, 2023
14 of 15 checks passed
@philippjfr philippjfr deleted the sanitize_html branch September 15, 2023 14:06
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.

None yet

1 participant