Skip to content
Browse files

fixed url_in(request, environ)[1]['PATH_INFO']

  • Loading branch information...
1 parent 3f6fa94 commit a23a2c52c230e45f3a1a35d2f25ef4c0ebecbfbb @mdipierro mdipierro committed Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 VERSION
  2. +1 −1 gluon/rewrite.py
View
2 VERSION
@@ -1 +1 @@
-Version 2.0.9 (2012-10-04 20:36:17) dev
+Version 2.0.9 (2012-10-04 20:38:49) dev
View
2 gluon/rewrite.py
@@ -231,7 +231,7 @@ def try_rewrite_on_error(http_response, request, environ, ticket=None):
path_info = '/' + path_info.lstrip('/') # add leading '/' if missing
environ['PATH_INFO'] = path_info
error_handling_path = \
- url_in(request, environ)[1]['PATH_INFO']
+ url_in(request, environ)[2]['PATH_INFO']
# Avoid infinite loop.
if error_handling_path != error_raising_path:
# wsgibase will be called recursively with the routes_onerror path.

0 comments on commit a23a2c5

Please sign in to comment.
Something went wrong with that request. Please try again.