Hello,
Environment is perl 5.8 on a Linux box while attempting to send a
multipart/form-data to a web site.
What happens is when submitting the form data under SSL, the remote
server sends back a 500 Server Error.
I have been on it for 2 days before I found the solution.
This web site is obviously not respecting the standard or maybe it is
the library that is being too strict.
The problem is that HTTP::Request::Util (at line 153 of the version 1.9)
checks if the boundary is something like \w+ and if not surround it with
quotes.
the boundary I used is:
---------------------------8211140207582391479147432895
After checking, Mozilla does not put quotes around such boundary. By
removing the boundary, the remote server CGI was happy and the
transaction successfull.
So one may argue it is the responsability of the remote CGI to parse the
boundary correctly, but I suspect this will happen with other CGI as
well and 2 days of work lost in this is kind of counter-productive.
Shall I suggest to widen a bit the range of acceptable character part of
a boundary without necessarily the needs of surrounding quotes?
something like [\w+\-\_]+
--
Kind Regards,
Jacques Deguest,
- Re: Bug Report on HTTP::Request::Util Jacques Deguest
- Re: Bug Report on HTTP::Request::Util Gisle Aas
- Re: Bug Report on HTTP::Request::Util Gisle Aas
- Re: Bug Report on HTTP::Request::Util Jacques Deguest
- Re: Bug Report on HTTP::Request::Util Gisle Aas
- Re: Bug Report on HTTP::Request::Util Jacques Deguest
