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

Allow data: to not be part of sanitizer’s allowed protocols #412

Open
wants to merge 1 commit into
base: master
from

Conversation

@charmander
Copy link

@charmander charmander commented Feb 21, 2019

When data: wasn’t permitted, it could attempt to del attrs[attr] twice.

When `data:` wasn’t permitted, it could attempt to `del attrs[attr]` twice.
@codecov-io
Copy link

@codecov-io codecov-io commented Feb 21, 2019

Codecov Report

Merging #412 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #412   +/-   ##
=======================================
  Coverage   90.79%   90.79%           
=======================================
  Files          50       50           
  Lines        6952     6952           
  Branches     1328     1328           
=======================================
  Hits         6312     6312           
  Misses        481      481           
  Partials      159      159
Impacted Files Coverage Δ
html5lib/filters/sanitizer.py 93.16% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f92357...e4757eb. Read the comment docs.

@twm
Copy link
Contributor

@twm twm commented Mar 2, 2019

The change looks valid, but shouldn't there be a test case for this?

@gsnedders gsnedders added the sanitizer label Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.