Bug 67120

Summary: Web Inspector: wrong script display name when there is a slash in its URL query parameters
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
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 pfeldman: review+

Yury Semikhatsky
Reported 2011-08-29 04:56:28 PDT
From user report: I see Chrome v15 (Chromium 15.0.861.0) has added some funky options for grouping the list of scripts by folder (enabled by default, see script view options to disable it). But it seems the URL parsing for this feature is a little buggy... it doesn't cope properly with query parameters that include a slash, so a JS file /somepath/script.js?version=123&referer=anotherpath/file.html will be shown as being a file called "file.html" in a folder "/somepath/script.js?version=123&referer=anotherpath/" [ This actually happens whether the "scripts by folder" option is enabled or not, but it worked properly in v14, so I'm sort of pointing the finger at the grouping change :) ]
Attachments
Patch (4.31 KB, patch)
2011-08-29 06:41 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2011-08-29 06:41:17 PDT
Yury Semikhatsky
Comment 2 2011-08-30 03:56:39 PDT
Note You need to log in before you can comment on or make changes to this bug.