Closed
Bug 302676
Opened 19 years ago
Closed 15 years ago
Addresses starting with ./ are being treated like ../
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: eantoranz, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I'm working trying to make apache forward requests to a given location to a Outlook Web Access service. After having spent some time working on it, I was finally able to make it "look like" it was a OWA service itself (using mod_proxy and mod_proxy_html)... however, I did notice that the INBOX, and CONTACTS, and the CALENDAR weren't working. After having studied the links for a while I noticed that they were starting with "./"... and then firefox was "going back" a path level... like it was ../ I tested with konqueror, and it worked fine. So... who's to blame? the ./ of course. :-) right? I just noticed that the same happens with mozilla (a rather old version: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115) And Internet Explorer doesn't even display the main page after authenticating. Reproducible: Always Steps to Reproduce: 1. Use a apache forward location to display OWA. (mod_proxy and mod_proxy_html) 2. Authenticate with the OWA service. Actual Results: The links starting with ./ were being treated like they were ../ Expected Results: treat the ./ to stay in that same directory
| Reporter | ||
Comment 3•19 years ago
|
||
Sure... This is the "menu" frame html code (once inside OWA):
[code]
<html><head><meta http-equiv="Content-Type" content="text/html;
CHARSET=windows-1252"><meta http-equiv="Pragma"
content="no-cache"><meta http-equiv="Expires"
content="0"><!--Copyright (c) 2000-2001 Microsoft Corporation. All
rights reserved.--><!--CURRENT FILE== "NON-IE5" "NON-WIN32" navbar
--><title>
None
</title><style type="text/css">
A:link { color: FFFFFF;text-decoration: none}
A:visited { color: FFFFFF;text-decoration: none}
A:active { color: FFFFFF;text-decoration: none}
</style><base href="/exchange/exchange/username/"></head><body
bgcolor="666666" topmargin="0" leftmargin="0" vlink="0" alink="0"
link="0"><table bgcolor="666666" width="100%" border="0">
<tr>
<td bgcolor="FFFFFF" valign="top" align="center" height="38">
<img src="/exchange/exchweb/img/logo-small.gif" width="91"
height="38" border="0">
</td>
</tr>
<tr>
<td valign="top" align="center" height="50">
<a href="./Inbox/?Cmd=contents&Page=1" target="viewer"
style="text-decoration: none">
<img src="/exchange/exchweb/img/navbar-inbox.gif" width="36"
height="36" alt="Go to inbox" border="0"><br>
<font color="white" size="2">Inbox</font></a>
</td>
</tr>
<tr><td valign="top" align="center" height="50"><a
href="./Calendar/?Cmd=contents" target="viewer"
style="text-decoration: none"><img
src="/exchange/exchweb/img/navbar-calendar.gif" width="36" height="36"
alt="Go to calendar" border="0"><br><font color="white"
size="2">Calendar</font></a></td></tr>
<tr><td valign="top" align="center" height="50"><a
href="./Contacts/?Cmd=contents" target="viewer"
style="text-decoration: none"><img
src="/exchange/exchweb/img/navbar-contacts.gif" width="36" height="36"
alt="Go to contacts" border="0"><br><font color="white"
size="2">Contacts</font></a></td></tr>
<tr>
<td valign="top" align="center" height="50">
<a href="/exchange/exchange/username/?Cmd=contents&ShowFolders=1"
target="viewer" style="text-decoration: none">
<img src="/exchange/exchweb/img/navbar-public.gif" width="36"
height="36" alt="Go to my folders" border="0"><br>
<font color="white" size="2">Folders</font></a>
</td>
</tr>
<tr>
<td valign="top" align="center" height="50">
<a href="/exchange/exchange/username/?Cmd=options" target="viewer"
style="text-decoration: none">
<img src="/exchange/exchweb/img/navbar-options.gif"
width="36"
height="36" alt="Go to options" border="0"><br>
<font color="white" size="2">Options</font></a>
</td>
</tr>
<tr>
<td valign="top" align="center" height="50">
<a href="/exchange/exchange/username/?Cmd=logoff"
onclick="top.g_fWarnOnLogOff=false" target="_parent"
style="text-decoration: none">
<img src="/exchange/exchweb/img/navbar-logoff.gif" width="36"
height="36" alt="Log Off" border="0"><br>
<font color="white" size="2">Log Off</font></a>
</td>
</tr>
</table></body></html>
[/code]
See the <base href="/exchange/exchange/username/"> in the beggining of the page?
The inbox link is decoded by firefox as:
https://thedomain/exchange/exchange/Inbox/?Cmd=contents&Page=1
The inbox link is decoded by konqueror as:
https://thedomain/exchange/exchange/username/Inbox/?Cmd=contents&Page=1
Notice how the username "dissapeared" from the link.| Reporter | ||
Comment 4•19 years ago
|
||
It fails when I go through apache (forwarding). When I go directly to the owa (from inside the LAN), it works OK. The base link is: <BASE href="http://owaserver/exchange/username/" /> The INBOX link is: <A href="./Inbox/?Cmd=contents&Page=1" target="viewer" style='text-decoration: none'> And it's decoded by firefox as: http://owaserver/exchange/username/Inbox/?Cmd=contents&Page=1 It's basically the same stuff... the only noticeable difference I see is the address of the base. The working one is an absolute one... while the faulty one starts at / (domain relative). What's going on?
| Reporter | ||
Comment 5•19 years ago
|
||
After I started using the the full domain name, It started working with mozilla and Firefox. <base href="https://externaldomain/exchange/exchange/username/">
Comment 6•15 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
URL: ./
Version: unspecified → 1.0 Branch
Comment 7•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•