Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 25090 by bob.doorenbos: BASE tag ignored if original page URL  
contains http://some/other/url in the query string
http://code.google.com/p/chromium/issues/detail?id=25090

Chrome Version       : 4.0.222.5 (Official Build 28804)
URLs (if applicable) : http://localhost:4444/html?
url=http://www.aasd.k12.wi.us/Ferber/
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x:  OK
          IE 7:
          IE 8:

What steps will reproduce the problem?
1. Fetch a page from localhost:port/whatever?url=QUERYPARAMURL, where the
QUERYPARAMURL contains "http://some.web.server/path/here";.  Note that in the
query parameter, the colon and slashes are NOT escaped into %3A and %2F.
2. Page load works fine.  Localhost server returns a page that contains a
<BASE HREF="http://some.other.domain/some/other/path";> tag.

What is the expected result?
Because of the <BASE> tag, the browser ought to resolve all relative URLs
in the page as being relative to some.other.domain/some/other/path

What happens instead?
Chrome resolves all relative URLs in the page as being relative to
localhost:... instead.  Chrome appears to ignore the <BASE> tag.

Please provide any additional information below. Attach a screenshot if
possible.

Bug does not occur if the original source URL is "localhost:port/test" --
if I take off the query parameter then everything works fine.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to