WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79905
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
Details
Formatted Diff
Diff
Patch
(5.78 KB, patch)
2012-02-29 07:20 PST
,
Alexander Pavlov (apavlov)
vsevik
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2012-02-29 07:13:45 PST
Created
attachment 129442
[details]
Patch
Alexander Pavlov (apavlov)
Comment 2
2012-02-29 07:20:37 PST
Created
attachment 129446
[details]
Patch
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
Committed
r109212
: <
http://trac.webkit.org/changeset/109212
>
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