Closed Bug 27972 Opened 25 years ago Closed 25 years ago

URL is truncated

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: janv, Assigned: andreas.otte)

References

()

Details

Attachments

(5 files)

index.xul has one iframe which is initialized with onload method onload="frames[0].location.href='frame/index.xul'" browser should also load frame/index.js and frame/index.css but insteed try to load index.js and index.css here is log from webserver: fri.utcru.sk - - [16/feb/2000:10:54:57 +0100] "GET /~varga/bug/index.xul HTTP/1. fri.utcru.sk - - [16/feb/2000:10:54:58 +0100] "GET /~varga/bug/frame/index.xul H fri.utcru.sk - - [16/feb/2000:10:54:58 +0100] "GET /~varga/bug/index.css HTTP/1. ^^^^^^^^^ fri.utcru.sk - - [16/feb/2000:10:54:58 +0100] "GET /~varga/bug/index.js HTTP/1.0 ^^^^^^^^ after load frames[0].location.href contents correct URL http://frru.utcru.sk/~varga/bug/frame/index.xul This used to work for me until 02/13/2000 (+/- 1 day) I searched bug database but I didn't find something similar Sorry fo dups if any
Attached file iframe source
Attached file script for iframe
Attached file script for iframe
Attached file stylesheet for iframe
This is a dup of bug 10647 - NS_NewURL constructs incorrect URL (Redirects related!). Changing component to Networking and marking duplicate. *** This bug has been marked as a duplicate of 10647 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Component: Browser-General → Networking
Resolution: --- → DUPLICATE
Summary: URL is truncated → URL is truncated
Hmmm ... I will investigate it, but I don't believe this is a dup of bug 10647
This looks more like a bug where we do not set the correct base uri when reading frame/index.xul. After that the base URI still ends with the bug directory and reading index.js in frame/index/xul therefore results in bug/index.js. I remember a similar bug, but I can't find it currently, reopening!
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
This bug looks lost. Assigning to default Networking owner. (It was reopened to former owner of Browser-General.)
Assignee: leger → gagan
Status: REOPENED → NEW
QA Contact: cbegle → tever
andreas Can you look at this? thx.
Assignee: gagan → andreas.otte
This works fine for me now ... after some changes ... This is the main index.xul file. Currently mozilla does nothing but load it. If I remove the xml-stylesheet line or change it, so that it is no longer a chrome url it works just fine: <?xml version="1.0" encoding="iso-8859-2" ?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <!DOCTYPE window> <window align="vertical" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="frames[0].location.href='frame/index.xul'"> <html:iframe src="about:blank" flex="1"/> </window> This is the log from my own webserver with the above change: [17/Jun/2000:20:37:00 +0200] "GET /~ao/index.xul HTTP/1.1" 200 [17/Jun/2000:20:37:02 +0200] "GET /~ao/frame/index.xul HTTP/1.1 [17/Jun/2000:20:37:02 +0200] "GET /~ao/frame/index.css HTTP/1.1 [17/Jun/2000:20:37:02 +0200] "GET /~ao/frame/index.js HTTP/1.1" I don't know what is wrong with the stylesheet line, but the original problem is gone, so I'm marking this bug WORKSFORME.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → WORKSFORME
verified: Linux 2000070402
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: