This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 103 - File Upload overrides URI when no file is actually sent.
Summary: File Upload overrides URI when no file is actually sent.
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.1
Hardware: Other other
: P2 major
Target Milestone: 0.7.0
Assignee: Terje Bless
QA Contact:
Depends on:
Reported: 2002-12-04 05:35 UTC by Terje Bless
Modified: 2004-09-01 20:22 UTC (History)
0 users

See Also:


Description Terje Bless 2002-12-04 05:35:14 UTC
cf. the thread referenced by the URL field;

A file upload field with no file selected can still be considered "successfull"
in HTML 4 terms and UAs are free to submit the field (even if it contains no
value/data). Konq 2.x, in particular, seems to have implemented it this way.

Since we prefer the uploaded_file parameter to the uri parameter if both are
present, this makes all non-upload submissions from Konq fail.

Possible resolution is to check whether the uploaded file actually contains any
data and fall back on any URI if one was given.
Comment 1 Terje Bless 2004-09-01 16:22:00 UTC
This is addressed by the TAG-imposed ban on POST-ed forms.

Resolving WONTFIX.