Closed Bug 213077 Opened 22 years ago Closed 22 years ago

Problem with the submission of a form which contains a input type file

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 59408

People

(Reporter: igor, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 I have a form with a input type file. When i put a long file name like "D:\mozilla\defaults\messenger\mailViews.dat" and i submit it i only find a short name like here "mailViews.dat". Reproducible: Always Steps to Reproduce: 1.Create a form with an action post 2.Create a <input type="file" name="toto"> 3.Load the page and enter a long file name like "X:\Dir1\Dir2\Dir3\file1" 3.Submit the form to php file 4.Display the variable $toto. 5.It contains only the name without the directory here "file1" Actual Results: The variable doesn't contain all the name. Expected Results: Cut the variable of the name of the file.
This is for security reasons. See bug 143220 comment 5 dupe of bug 59408
*** This bug has been marked as a duplicate of 59408 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.