Invalid continuation byte

Bug #1733665 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
In Progress
Medium
Carlos de la Guardia

Bug Description

URLDecodeError: 'utf8' codec can't decode byte 0xe1 in position 10: invalid continuation byte
Exception when processing xx
Referer: None

Traceback (most recent call last):
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/tweens.py", line 17, in excview_tween
    response = handler(request)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 107, in tm_tween
    return response
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 75, in __exit__
    return self._retry_or_raise(t, v, tb)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 60, in _retry_or_raise
    reraise(t, v, tb) # otherwise reraise the exception
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid_tm-0.5-py2.7.egg/pyramid_tm/__init__.py", line 100, in tm_tween
    response = handler(request)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/router.py", line 116, in handle_request
    tdict = traverser(request)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/traversal.py", line 610, in __call__
    vpath_tuple = traversal_path(vpath)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/repoze.lru-0.4-py2.7.egg/repoze/lru/__init__.py", line 96, in lru_cached
    val = f(*arg)
  File "/srv/osfkarl/.buildout/eggs/cp27mu/pyramid-1.2.1-py2.7.egg/pyramid/traversal.py", line 486, in traversal_path
    raise URLDecodeError(e.encoding, e.object, e.start, e.end, e.reason)
URLDecodeError: 'utf8' codec can't decode byte 0xe1 in position 10: invalid continuation byte

Changed in karl4:
status: New → In Progress
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

The name "Argenis" in the URL rang a bell, and I foun dthat we had already looked at this, but at the time we marked it as won't fix. I am taking another look at the idea of preventing links coming from Karl to fail like this.

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Hit "post comment" too soon. I wish these could be edited. Here's the link to the old ticket:

https://bugs.launchpad.net/karl4/+bug/1636993

Changed in karl4:
milestone: 037 → 040
Changed in karl4:
milestone: 040 → 044
Changed in karl4:
milestone: 044 → 046
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.