Modify

Opened 8 years ago

Closed 8 years ago

#12659 closed defect (fixed)

Exception in post_process_request

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: SimpleTicketPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

From the logs:

2016-02-01 20:04:18,818 Trac[main] ERROR: Exception caught while post-processing request:
Traceback (most recent call last):
  File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 277, in dispatch
    self._post_process_request(req)
  File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 390, in _post_process_request
    f.post_process_request(req, *(None,)*extra_arg_count)
  File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/simpleticket/web_ui.py", line 38, in post_process_request
    if req.path_info.startswith('/newticket') and \
  File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/web/api.py", line 382, in path_info
    path_info=path_info))
HTTPNotFound: 404 Not Found (Invalid URL encoding (was '/ticket/7212\xef\xbc\xc3\x83\xc2\xaf\xc3\x82\xc2\xbf\xc3\x82\xc2\xbd'))

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:2 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

See also #12486, #12431. Fix is likely to be similar to [14942].

comment:3 Changed 8 years ago by Ryan J Ollos

Reproduced with /ticket/1%EF%BC%C3%83%C2%AF%C3%82%C2%BF%C3%82%C2%BD.

>>> import urllib
>>> urllib.quote('\xef\xbc\xc3\x83\xc2\xaf\xc3\x82\xc2\xbf\xc3\x82\xc2\xbd')
'%EF%BC%C3%83%C2%AF%C3%82%C2%BF%C3%82%C2%BD'

comment:4 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 15196:

5.0dev: Skip post_process_request during exception handling

Fixes #12659.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.