RESOLVED FIXED79905
Web Inspector: Clicking relative links fails when query string contains a slash
https://bugs.webkit.org/show_bug.cgi?id=79905
Summary Web Inspector: Clicking relative links fails when query string contains a slash
Alexander Pavlov (apavlov)
Reported 2012-02-29 07:09:11 PST
What steps will reproduce the problem? 1. Go to a page with a url which contains a query string with a / in it. (like `site.com/page?a=b/c`) 2. Open the developer tools, and follow a link. (say `img/cat.png`) 3. ??? What is the expected result? The link opens. (as in: `site.com/img/cat.png`) What happens instead? The browser points to a most likely non existant page. (`site.com/page?a=b/img/cat.png`) Upstreaming http://code.google.com/p/chromium/issues/detail?id=111682
Attachments
Patch (5.70 KB, patch)
2012-02-29 07:13 PST, Alexander Pavlov (apavlov)
no flags
Patch (5.78 KB, patch)
2012-02-29 07:20 PST, Alexander Pavlov (apavlov)
vsevik: review+
Alexander Pavlov (apavlov)
Comment 1 2012-02-29 07:13:45 PST
Alexander Pavlov (apavlov)
Comment 2 2012-02-29 07:20:37 PST
Vsevolod Vlasov
Comment 3 2012-02-29 07:22:33 PST
Comment on attachment 129442 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=129442&action=review > Source/WebCore/inspector/front-end/ResourceUtils.js:280 > + if (questionMarkIndex > 0) Could it be zero? Could you please add a test for url like "http://www.example.com/?..."?
Alexander Pavlov (apavlov)
Comment 4 2012-02-29 07:28:34 PST
Note You need to log in before you can comment on or make changes to this bug.