Bug #2524
closedCGI CONTENT_TYPE holds spurios data
Description
Version: lighttpd/1.4.28
Upon submitting the following form
<form action=glucose.sh?stage=post method=post nctype="multipart/form-data">
Select the XML dataset to upload<br><br>
<input type=file name=file>
<input type=submit value=Submit>
</form>
the Bash script 'glucose.sh' is started by CGI with a wrong 'CONTENT_TYPE' env variable.
The 'CONTENT_TYPE' received contains:6d 75 6c 74 69 70 61 72 74 2f 66 6f 72 6d 2d 64 |multipart/form-d|
61 74 61 3b 20 62 6f 75 6e 64 61 72 79 3d 2d 2d |ata; boundary=--|
2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------|
2d 2d 2d 2d 2d 2d 2d 2d 2d 31 35 30 39 34 31 36 |---------1509416|
33 35 32 31 39 33 30 30 33 38 35 38 39 31 31 38 |3521930038589118|
33 38 32 38 32 37 38 0a |3828278. |
Instead I'd expect it to contain:
@6d 75 6c 74 69 70 61 72 74 2f 66 6f 72 6d 2d 64 |multipart/form-d|
61 74 61 3b 20 62 6f 75 6e 64 61 72 79 3d 2d 2d |ata; |
Am I wrong?
Updated by stbuehler over 11 years ago
- Status changed from New to Invalid
- Target version deleted (
1.4.x)
Updated by Davide_Baldini over 11 years ago
Thank you for clarification - appreciated.
Also available in: Atom