[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 05:59:07 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 05:59:06 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:  new => closed

Comment:

 Well, I found even solution..

 Change firstline or trac.cgi from {{{#!C:\python23\python.exe}}} (or
 whatever you have there) to {{{#!C:\python23\python.exe -u}}} to use stdin
 as in binary mode.

 I also added this information on TracOnWindows#Fixafewthings

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1609>
The Trac Project <>


More information about the Trac-Tickets mailing list