[Trac-tickets] Re: [The Trac Project] #1609: Attaching files fails
if file contains HEX character 1A (on Apache, CGI only)
The Trac Project
noreply at edgewall.com
Thu Jun 2 06:33:21 CDT 2005
#1609: Attaching files fails if file contains HEX character 1A (on Apache, CGI
only)
---------------------+------------------------------------------------------
Id: 1609 | Status: closed
Component: general | Modified: Thu Jun 2 06:33:19 2005
Severity: normal | Milestone:
Priority: normal | Version: devel
Owner: jonas | Reporter: Ian Leader <__ian.leader__ at line.co.uk>
---------------------+------------------------------------------------------
Changes (by Rede):
* resolution: => fixed
* status: reopened => closed
Comment:
Can also be fixed with following (didn't do patch file for such a small
change):
{{{
Index: cgi_frontend.py
===================================================================
--- cgi_frontend.py (revision 1753)
+++ cgi_frontend.py (working copy)
@@ -96,8 +96,8 @@
def run():
locale.setlocale(locale.LC_ALL, '')
+ env = open_environment()
req = CGIRequest()
- env = open_environment()
try:
dispatch_request(os.getenv('PATH_INFO', ''), req, env)
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1609>
The Trac Project <>
More information about the Trac-Tickets
mailing list