Summary: | script-src * should allow all URLs | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Barth <abarth> | ||||
Component: | New Bugs | Assignee: | Adam Barth <abarth> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, sam, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 70245 | ||||||
Bug Blocks: | 53572 | ||||||
Attachments: |
|
Description
Adam Barth
2011-10-13 02:40:47 PDT
Created attachment 110816 [details]
Patch
Comment on attachment 110816 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110816&action=review OK. > Source/WebCore/page/ContentSecurityPolicy.cpp:273 > + if (end - begin == 1 && *begin == '*') { It seems like you should have a local length = end - begin? Or do you move begin? Comment on attachment 110816 [details]
Patch
Yeah, begin and end get moved around a lot in this function. I'd prefer not to have a length variable because I'd worry it would get out of sync.
Comment on attachment 110816 [details] Patch Clearing flags on attachment: 110816 Committed r97360: <http://trac.webkit.org/changeset/97360> All reviewed patches have been landed. Closing bug. |