Closed Bug 49460 Opened 25 years ago Closed 25 years ago

keyword search doesn't redirect properly.

Categories

(Core :: Networking, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: chris, Assigned: gagan)

References

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20000817 BuildID: 20000081708 Typing a word in the location bar searches for a match at keyword.netscape.com, and if it finds a URL which says "http://www.[keyword].com", it should redirect to that page. This doesn't work properly. The page (HTML only) is opened, but the location bar says keyword:[keyword]; all links are then relative to the non-existant url "keyword:[keyword]", so images, links, stylesheets etc aren't correctly referenced, so don't work. Reproducible: Always Steps to Reproduce: 1.Type a word into the location bar eg:microsoft 2.Press enter. 3.Wait while mozilla contacts keyword.netscape.com, and displays the page you want. Actual Results: The location bar now says "keyword:microsoft". Images, links, stylesheets etc which are referenced relatively (ie without any protocol name or anything) aren't loaded. Links point to "/foo.bar" instead of "http://www.microsoft.com/foo.bar". Expected Results: After contacting keyword.netscape.com, mozilla should redirect to "http://www.microsoft.com", and all links, images, stylesheets etc will be referenced correctly. This is NOT a duplicate of bug 41094. Happens whether the sidebar is open, closed or hidden. I've tried it with "microsoft", "dilbert", "msn" and "altavista". However, altavista is unaffected as all links on the page are absolute. This bug makes keyword searching quite useless.
confirming using the 2000081708 nightly on win2k
Status: UNCONFIRMED → NEW
Ever confirmed: true
It seems that no redirect headers are processed correctly, not just the ones from keyword.netscape.com The simple perl script following causes the exact same mess. See also bug 38507 #!/usr/bin/perl use CGI; $cgiobject = new CGI; print ($cgiobject->redirect("http://www.microsoft.com"));
See also: bug 32359 bug 42236 bug 43230 bug 48200 <- etcetera A lot of bugs seem to be reported from the fact that a redirect doesn't correctly give the base URL. This needs to be fixed.
over to Networking for duplication (I guess).
Assignee: asa → gagan
Component: Browser-General → Networking
QA Contact: doronr → tever
marking as dependend on bug 48200.
Depends on: 48200
This seems to be fixed as bug 48200 has been fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Works for Me Platform: PC OS: Windows 98 Mozilla Version: 2000100508 Marking as Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.