Opened 10 years ago

Closed 10 years ago

#3539 closed defect (fixed)

Ticket Submission Creates an Internal Server Error (500)

Reported by: Kenny Bohle Owned by: Mel Chua
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 10 years ago by Kenny Bohle

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

Without those lines the server errors are gone.

comment:2 Changed 10 years ago by Mel Chua

Resolution: fixed
Status: newclosed

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!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Mel Chua.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.