#3428: Trac attempts to diff non-text files
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  cmlenz
     Type:  defect                    |      Status:  new   
 Priority:  normal                    |   Milestone:        
Component:  version control           |     Version:  0.9.6 
 Severity:  normal                    |    Keywords:        
--------------------------------------+-------------------------------------
 When viewing a changeset, Trac will attempt to perform a diff on any file
 where none of the first 1000 bytes are the null byte (0x00). This causes
 the server to hang when viewing a changeset on large (>~16MB) binary files
 that do not happen to have a null byte in the first 1000 bytes.

 Created a patch (trac-mimetype-no-binary-diff.patch) to prevent Trac from
 attempting to perform a diff on files that have the svn:mime-type property
 set to something other than "text/*".

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3428>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to