multipart/form-data weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,


This one baffles me.


I have the following scenario:

  - Apache 2.2.3 with mod_php and mod_rewrite enabled (disabling those modules 
    doesn't change a thing), no other fancy configuration items
  - An arbitrary form with enctype="multipart/form-data"
  - An arbitrary receiver for the form data, such as a php script or cgi 
    program
  - An arbitrary browser, such as Firefox, or Konquerer which POSTs the form 
    to the Apache web server


Problem is:

  - The web server appears to convert all multipart form data to 
    application/x-www-form-urlencoded data before passing it on to the 
    receiver
  - Any <input type="file"> data is silently dropped
  - A find+grep for the mime types in question yields nothing of note, except 
    for them being listed in mime.types (even when the find is done on the
    entire Apache chroot tree)
  - Nothing unusual appears in the log files
  - The problem shows up consistently for all receivers (tried mod_php, cgi, 
    and mod_perl)
  - I can't reproduce the error on other servers
  - Recompiling apache on that particular server does not help
  - tcpdump -w proves that the client does transmit form data correctly, in 
    multipart/form-data format, including any files
  - multipart form data was known to work for that server until about a month 
    ago. MD5 checksumming suggests that the Apache configuration hasn't 
    changed for more than 3 months.


What on earth would trigger this behavior?


TIA
Madeleine

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux