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)

All
Linux
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 76968
mozilla1.1beta

People

(Reporter: matt, Assigned: alexsavulov)

References

Details

Attachments

(1 file)

On UNIX type platforms, it should be possible to say "~/foobar" when specifying
a file to upload.
dup of bug 93141?
Related: bug 82851, bug 76968.
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?)
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
This is form submission.
Assignee: dougt → alexsavulov
Component: Networking: File → Form Submission
QA Contact: benc → vladimire
setting priority/milestone
Priority: -- → P3
Target Milestone: --- → mozilla1.1beta
*** Bug 142012 has been marked as a duplicate of this bug. ***
Depends on: 76968
Darin: this seems like a good idea.  Should this be handled in
nsILocalFile::InitWithPath or by its caller?
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?
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 ***
Status: NEW → RESOLVED
Closed: 22 years ago
No longer depends on: 76968
Resolution: --- → DUPLICATE
Actually, my surprise didn't indicate anything of the sort: I have never tested
using ~ in file upload.  But if it works, it works.
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: