Bug 74291

Summary: Web Inspector: [Styles] Modified selector text needs sanitization
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Alexander Pavlov (apavlov)
Reported 2011-12-12 05:31:40 PST
According to the selectors grammar found in http://www.w3.org/TR/selectors/ (item 10), trailing spaces are not allowed in the selector text. Sanitization of user input is required. Upstreaming http://code.google.com/p/chromium/issues/detail?id=106749
Attachments
Patch (4.73 KB, patch)
2011-12-12 06:41 PST, Alexander Pavlov (apavlov)
yurys: review+
Alexander Pavlov (apavlov)
Comment 1 2011-12-12 06:41:07 PST
Yury Semikhatsky
Comment 2 2011-12-12 07:20:00 PST
Comment on attachment 118780 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=118780&action=review > Source/WebCore/ChangeLog:5 > + Could you put a short description here?
Alexander Pavlov (apavlov)
Comment 3 2011-12-12 07:24:55 PST
Note You need to log in before you can comment on or make changes to this bug.