Opened 7 years ago

Closed 7 years ago

#3539 closed defect (fixed)

Ticket Submission Creates an Internal Server Error (500)

Reported by: kenny Owned by: mchua
Priority: high Component: TracBacksPlugin
Severity: normal Keywords: http error 500
Cc: Trac Release: 0.11


When I add a link to another ticket inside a comment block and submit the changes the server will return an internal server error with code 500.

When I reload the page it is correctly displayed and the trackback links are created correctly.

Here's the section from the server logs:

access.log: - - [12/Aug/2008:10:28:31 +0200] "POST /trac/_sandbox/ticket/9 HTTP/1.1" 500 613 "http://myserver/trac/_sandbox/ticket/9" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)"


[Tue Aug 12 10:28:31 2008] [error] [client] malformed header from script. Bad header={{{: trac.cgi, referer: http://myserver/trac/_sandbox/ticket/9

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by kenny

I checked the file and uncommented both "print ..." lines.

Without those lines the server errors are gone.

comment:2 Changed 7 years ago by mchua

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

Thanks for the catch, kenny - I've committed your fix. Those print statements were an artifact from early debugging and shouldn't have been there in the first place. Mad props for the sharp eyes!

Add Comment

Modify Ticket

as closed The owner will remain mchua.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.