Closed Bug 297867 Opened 20 years ago Closed 20 years ago

Relative path resolution incorrect when using frames

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 254785

People

(Reporter: richard, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

I see this bug was reported in #254785, but no fix was given

Basically when frames are used in html pages, and a hyperlink using a relative
path is clicked, in one of the frames. Firefox resolves the url as being in the
root.

eg. (note: these urls provided for example only, not real urls)
absolute path for html pages is www.somesite.com/somefolder/somepage.htm
and the link source is so   <a href="test.htm">link</a>
firefox resolves the link to be at www.somesite.com/test.htm instead of
www.somesite.com/somefolder/test.htm

Reproducible: Always

Steps to Reproduce:
1. go to www.plexos.info
2. in the tree click Properties --> market --> is forward
3. in the frame on the left hand side there is a hyperlink "Market"


Actual Results:  
clicking this link does not find the page it is resolved as
www.plexos.info/market.htm

Expected Results:  
should be resolved as www.plexos.info/Reference/market.htm
If you found that there was already a bug already opened for your issue, why did
you open a new one?

*** This bug has been marked as a duplicate of 254785 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
note: this seems to be because the java applet is passing
Reference\Market,IsForward.htm, which somehow we or the server resolves
properly, but this isn't a valid separator, so we assume its just a character.

Backslash isn't legal on the Internet, so fixing the java tree to not use
backslash should fix this....
(In reply to comment #2)
> note: this seems to be because the java applet is passing
> Reference\Market,IsForward.htm, which somehow we or the server resolves
> properly, but this isn't a valid separator, so we assume its just a character.
> 
> Backslash isn't legal on the Internet, so fixing the java tree to not use
> backslash should fix this....

Thanks heaps Mike, changing the Java tree paths did the trick
You need to log in before you can comment on or make changes to this bug.