Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#244 closed defect (fixed)

Linefeed duplication

Reported by: daniel Owned by: daniel
Priority: highest Milestone: 0.7
Component: general Version: 0.6
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


When I try to view the contents of a particular revision of a text file through the Browser interface, the contents are displayed incorrectly. There is an extra newline inserted for every CR/LF present in the original file, as well as a random number of trailing lines at the end of the file are truncated (between 7 - 19 lines are missing, depending on the particular file). I see this behavior for all types of text files (varying file extensions, etc.).

I can view Text Files on the edgewall.com site just fine, so I suspect this is a problem running my server on Windows.

— Ben Garrett

Note: The whole post is here: http://lists.edgewall.com/archive/trac/msg00148.html

Attachments (0)

Change History (5)

comment:1 by daniel, 18 years ago

Resolution: fixed
Status: newclosed

This should be fixed in [401].

comment:2 by daniel, 18 years ago

Resolution: fixed
Status: closedreopened

Stripping linefeeds is a bad idea for binary data.

Instead, Trac should use binary i/o on windows.

comment:3 by daniel, 18 years ago

Fixed in [412].

comment:4 by daniel, 18 years ago

Resolution: fixed
Status: reopenedclosed

comment:5 by daniel, 18 years ago


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.