Misinterpretation of ./ path-link url
Categories
(Toolkit :: View Source, defect, P3)
Tracking
()
People
(Reporter: webmaster555, Unassigned)
Details
Attachments
(1 file)
27.96 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Steps to reproduce:
a link <a href="./"> is noted with ./ (1 dot and 1 forward slash)
Actual results:
Firefox interpret the link like it was <a href="../"> (2 dots 1 forward slash) and go up in the directory arborescence
Expected results:
Stay in the same directory and NOT going up in the tree
For instance the tree is /first/second/
I'm browsing inside /second/, then I click the link <a href="./">, and I found myself now in /first/index.php instead of being in /first/second/index.php
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Honza, can you add a test case? Thanks
Updated•1 year ago
|
Comment 4•11 months ago
|
||
When bulding a test case I realized I can't reproduce the reported issue. Clicking on "./" link causes the page to just stay in the same directory.
Nicolas, I am not 100% sure, but did you mention, you could reproduce this at our triage meeting?
Comment 5•11 months ago
|
||
I don't remember what I said, it's been a few weeks :/
I tested it and indeed, I can't reproduce. In view source, clicking on ./
links show files from the page current dir, and clicking on ../
links show files from the page parent dir. This was with file://
so I tried something that looked more like comment 0, but I get a similar behavior.
webmaster555 , could you share a link to a page where you see that? Or if not possible, a screencast showing the issue would be great
Reporter | ||
Comment 6•11 months ago
|
||
I'm now on FF 129.0.1, did some test today and all seems to work as intended now
"could you share a link to a page where you see that?"
Yes, one link is over-there > https://www.divescotty.com/padi-scuba-diving-courses/padi-master-scuba-diver-course.php , the big blue button "Choose a PADI scuba course" (scrolling down in the middle of the page)
Comment 7•11 months ago
|
||
(In reply to webmaster555 from comment #6)
I'm now on FF 129.0.1, did some test today and all seems to work as intended now
Oh weird
"could you share a link to a page where you see that?"
Yes, one link is over-there > https://www.divescotty.com/padi-scuba-diving-courses/padi-master-scuba-diver-course.php , the big blue button "Choose a PADI scuba course" (scrolling down in the middle of the page)
So I doubled check:
- on view-source:https://www.divescotty.com/padi-scuba-diving-courses/padi-master-scuba-diver-course.php , we have
<a href="./" title="PADI scuba courses"><h3 class="calltoaction">Choose a padi scuba course</h3></a>
- the link on
./
points to view-source:https://www.divescotty.com/padi-scuba-diving-courses/ which looks correct to me
I'm going to close the bug, but feel free to reopen it if you see something weird again
Description
•