Closed
Bug 134143
Opened 22 years ago
Closed 22 years ago
In HTTP file upload, allow use of "~" on UNIX platforms
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
mozilla1.1beta
People
(Reporter: matt, Assigned: alexsavulov)
References
Details
Attachments
(1 file)
13 bytes,
text/plain
|
Details |
On UNIX type platforms, it should be possible to say "~/foobar" when specifying a file to upload.
I think you could transmit that (might need to be escaped) to the ftp server and see if it works. That might be dependent on the server (did we have this conversation before in another ftp bug?)
Reporter | ||
Comment 3•22 years ago
|
||
I was talking about HTTP file upload, like when uploading an attachment to Bugzilla; I've changed the summary to be more specific. When I, say, upload a patch to Bugzilla, I'd like to be able to enter "~/diff.txt" as the file name, rather than "/usr/home/matt/diff.txt".
Summary: In file upload, allow use of "~" on UNIX platforms → In HTTP file upload, allow use of "~" on UNIX platforms
Comment 4•22 years ago
|
||
This is form submission.
Assignee: dougt → alexsavulov
Component: Networking: File → Form Submission
QA Contact: benc → vladimire
Assignee | ||
Comment 5•22 years ago
|
||
setting priority/milestone
Priority: -- → P3
Target Milestone: --- → mozilla1.1beta
Comment 6•22 years ago
|
||
*** Bug 142012 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
Darin: this seems like a good idea. Should this be handled in nsILocalFile::InitWithPath or by its caller?
Comment 8•22 years ago
|
||
hmm... it probably does make sense to push this into nsLocalFileUnix. it would have to be translated immediately using the directory service.
I agree, which is why I checked in the fix for bug 76968 in June. Is it not working?
Comment 10•22 years ago
|
||
Comment 11•22 years ago
|
||
the reporter didn't include a build id or a platform. both of these bugs were filed before this was fixed by bug 76968. there have been two comments in this bug since it was fixed, but both were general guesses. I see no reason for this bug to remain alive, and shaver's surprise indicates it works for him. kail's attachment was a test to verify that it works. *** This bug has been marked as a duplicate of 76968 ***
Actually, my surprise didn't indicate anything of the sort: I have never tested using ~ in file upload. But if it works, it works.
Updated•5 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•