WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
155133
CSP: Remove hardcoded directive names from ContentSecurityPolicySourceList::isProtocolAllowedByStar()
https://bugs.webkit.org/show_bug.cgi?id=155133
Summary
CSP: Remove hardcoded directive names from ContentSecurityPolicySourceList::i...
Daniel Bates
Reported
2016-03-07 14:12:32 PST
The patch for
bug #154122
hardcoded the directive names "img-src" and "media-src" in the implementation of ContentSecurityPolicySourceList::isProtocolAllowedByStar(). Instead we should make use of the constants in ContentSecurityPolicyDirectiveList.cpp.
Attachments
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2016-03-24 11:06:43 PDT
I will fix this bug as part of the refactoring in the patch for
bug #155842
.
Daniel Bates
Comment 2
2016-03-24 19:15:02 PDT
Fixed in <
http://trac.webkit.org/changeset/198657
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug