Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Open
charmander wants to merge 1 commit into html5lib:master
base: master
Choose a base branch
Loading
from charmander:patch-1

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.
Copy link

codecov-io commented Feb 21, 2019
edited
Loading

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.

Copy link
Contributor

twm commented Mar 2, 2019

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

hugovk and ambv reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /