Chris McDonough
2011-07-16 4b3ba9a09ba5491b6752315a9c68189f3a9d1780
refs
author Chris McDonough <chrism@plope.com>
Saturday, July 16, 2011 22:47 +0200
committer Chris McDonough <chrism@plope.com>
Saturday, July 16, 2011 22:47 +0200
commit4b3ba9a09ba5491b6752315a9c68189f3a9d1780
tree 6d050ad0d9b392d8889481c45babb8bcb0a441d5 tree | zip | gz
parent 8a8724de56c8dcce763fdb5630c77cb69a149572 view | diff
- Omit custom environ variables when rendering a custom exception template in
``pyramid.httpexceptions.WSGIHTTPException._set_default_attrs``;
stringifying thse may trigger code that should not be executed; see
https://github.com/Pylons/pyramid/issues/239

Closes #239
3 files modified
24 ■■■■■ changed files
CHANGES.txt 8 ●●●●● diff | view | raw | blame | history
pyramid/httpexceptions.py 5 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_httpexceptions.py 11 ●●●●● diff | view | raw | blame | history