Edgewall Software
Modify

Ticket #244 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Linefeed duplication

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

Description

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

Change History

comment:1 Changed 8 years ago by daniel

  • Resolution set to fixed
  • Status changed from new to closed

This should be fixed in [401].

comment:2 Changed 8 years ago by daniel

  • Milestone changed from 0.6.1 to 0.6.2
  • Resolution fixed deleted
  • Status changed from closed to reopened

Stripping linefeeds is a bad idea for binary data.

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

comment:3 Changed 8 years ago by daniel

Fixed in [412].

comment:4 Changed 8 years ago by daniel

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:5 Changed 8 years ago by daniel

  • Milestone changed from 0.6.2 to 0.7
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.