Closed
Bug 98868
Opened 23 years ago
Closed 22 years ago
Questionmark after directory in file URL shows strange directory listing
Categories
(Core :: XUL, defect)
Tracking
()
Future
People
(Reporter: hansmann.d, Assigned: dougt)
References
()
Details
(Keywords: verifyme)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010907
BuildID: 2001090723
submit the following form and you get a directory listing where
each directory is called as the base ditrectory...
<html><body><form action="."><input type=submit></form></body></html>
not a serious bug, but probably not the desired behaviour...
Reproducible: Always
Steps to Reproduce:
1. try the page above
2.
3.
Expected Results: provided a correct directory listing or an error-message
Comment 1•23 years ago
|
||
One can reproduce this by just taking a file url of the form:
file:///path/to/anywhere/?
Just click on the URL field of this bug on any Unix (and maybe other as well)
system to reproduce.
Over to networking:file
Assignee: asa → dougt
URL: file:///?
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking: File
Ever confirmed: true
QA Contact: doronr → benc
Comment 3•23 years ago
|
||
No. Never has been. I suspect it's rpotts, isn't it?
Assignee: blizzard → rpotts
Comment 4•23 years ago
|
||
nope... i don't think i own form posting :-)
i'll try to find the real owner...
-> form submission
Can forms even work off a base of a file URL?
Assignee: rpotts → rods
Component: Networking: File → Form Submission
QA Contact: benc → vladimire
Updated•23 years ago
|
Summary: form action="." shows weird directory listing → form action="." shows weird directory listing[form sub]
Comment 7•23 years ago
|
||
*** Bug 111171 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
Yes, this has nothing to do with forms. Just type in "file:///?" in the URL bar
to see the trouble. The reason this showed up on forms first is the question
mark is placed after the "." in the form submit. For example, a form in
file:///home/john with action="." and a parameter x=y will submit to
"file:///home/john/.?x=y".
This only works when the directory before the questionmark is a valid directory.
Updating summary and reassigning back to networking:file. It sounds like a URL
parsing issue to me, if that helps any.
Assignee: alexsavulov → dougt
Component: Form Submission → Networking: File
QA Contact: vladimire → benc
Summary: form action="." shows weird directory listing[form sub] → Questionmark after directory in file URL shows strange directory listing
Comment 10•23 years ago
|
||
File URLs point to flat, static disk space.
We have bugs on "?" being in file URLs, as well as "file:///" not working well.
I guess what I'm asking is "can you even do a form submission to a file URL"?
Comment 11•23 years ago
|
||
-> form submission
are you saying that form sumbission does a GET for the file URL?
That doesn't make any sense to me.
Component: Networking: File → Form Submission
Comment 12•23 years ago
|
||
That's exactly what form submission does, but also see comment 9. I can
manually type a url in the location bar that will give a completely garbled
directory listing...
Assignee | ||
Updated•22 years ago
|
Component: Form Submission → Networking: File
Comment 13•22 years ago
|
||
That's a dupe.
*** This bug has been marked as a duplicate of 59002 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: Networking: File → XP Toolkit/Widgets: Trees
QA Contact: benc → shrir
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•