Pylons/pyramid_tm — pull request #19 by f0rk (2014-11-07 22:46:10+00:00)
Title: Don't crash when attempting to decode an invalid URL

```
2014-10-29 16:15:54,681 could not decode url: 'http://www.test.com/\xc0.\xc0./\xc0.\xc0./\xc0.\xc0./\xc0.\xc0./windows/win.ini'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pyramid_exclog/__init__.py", line 111, in exclog_tween
return handler(request)
File "/usr/lib/python2.7/dist-packages/pyramid_tm/__init__.py", line 82, in tm_tween
reraise(*exc_info)
File "/usr/lib/python2.7/dist-packages/pyramid_tm/__init__.py", line 62, in tm_tween
t.note(request.path_info)
File "/usr/lib/python2.7/dist-packages/webob/descriptors.py", line 68, in fget
return req.encget(key, encattr=encattr)
File "/usr/lib/python2.7/dist-packages/webob/request.py", line 178, in encget
return val.decode(encoding)
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc0 in position 1: invalid start byte
```

Discovered with the help of Nessus.