Bug 25800 - Error on File Upload to scripts with Apache Basic Authentication
Summary: Error on File Upload to scripts with Apache Basic Authentication
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-14 12:52 PDT by Brady Fopma
Modified: 2009-05-14 13:07 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Fopma 2009-05-14 12:52:03 PDT
I am receiving an Error 101 (net::ERR_CONNECTION_RESET): Unknown error upon attempting a simple form file upload to a script with Apache Basic Authentication enabled.

Form code:
<form method="POST" action="/path/to/script/with/authentication" enctype="multipart/form-data">
<input type="file" name="myFile">
<input type="submit">
</form>

The behavior is reproduced in Safari 4 beta, Google Chrome 1.0.154.65, and Chromium 2.0.181.0 (16072).  The behavior does not occur on IE 8, IE 7, Firefox 3.0.10, or Safari 3.2.3.

The form upload processes as expected when Basic Authentication is disabled for the script.  With Basic Authentication enabled it does not appear that the browser ever reaches the script (no entry in log files).
Comment 1 Brady Fopma 2009-05-14 13:07:59 PDT
Behavior occurs only when submitting file from a non-authenticated page to an authenticated script; it appears that the bug has been fixed for file uploads from authenticated pages to authenticated scripts.  Safari 4 and Google Chrome continue to exhibit the problem.  Chromium with webkit nightly build works as expected.