summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2015-01-07 17:34:21 -0500
committerRyan Petrello <lists@ryanpetrello.com>2015-01-08 14:58:21 -0500
commitf491076a0f1b9f080c139a8062c9481e8024d8cb (patch)
tree408427508ad981aa61803d060bc503677d0f78d0 /tox.ini
parentfe19eb67a83c4ec1e239586b2d7a6141a5d56418 (diff)
downloadpecan-f491076a0f1b9f080c139a8062c9481e8024d8cb.tar.gz
Change pecan to more gracefully handle a few odd request encoding edge cases.
Webob raises UnicodeDecodeErrors during request argument parsing in two situations: * HTTP POST requests composed of non-Unicode data (only affects Webob in Python2) * URL paths that contain invalid percent-encoded characters, e.g., /some/path/%AA Pecan should detect these types of decoding failures when `webob.Request` attributes are accessed, log the original exception, and coerce the HTTP 500 into a more accurate HTTP 400. Fixes bug: 1408102 Fixes bug: 1407749 Change-Id: I734efd36230b6742805bcfd801dc0de2489ef92b
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions