bug in fastcgi spyce (under lighttpd)
Andy Sy <[email protected]> Wed, 17 Nov 2010 22:00:59 +0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
I noticed a problem when running spyceCGI under
lighttpd fastcgi (across all versions including the
latest).
I confirmed that no such issue exists with php fastcgi
under the same setup.
showgetvar.spy
==============
<html>
<body><pre>
<%\
print request.getpost1("emailbody")
%>
</pre></body>
</html>
when called as:
showgetvar.spy?emailbody=123%0d%0a456
is fine, but two \r\n's in a row:
showgetvar.spy?emailbody=123%0d%0a%0d%0a456
seems to screw up the output of formprocess.spy, this is what comes out:
456
</pre></body>
</html>
Only the last part of the get variable gets printed
and everything before the Spyce chunk disappears.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev