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`)
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`)
Created attachment 129442 [details]
Created attachment 129446 [details]
Comment on attachment 129442 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=129442&action=review
> + if (questionMarkIndex > 0)
Could it be zero? Could you please add a test for url like "http://www.example.com/?..."?
Committed r109212: <http://trac.webkit.org/changeset/109212>