diff options
author | Ben Bangert <ben@groovie.org> | 2008-02-28 17:19:22 -0800 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2008-02-28 17:19:22 -0800 |
commit | 1b298cbdccc0b71bd76fb2e3ba28cffd9b7368e7 (patch) | |
tree | bb2dec135f6f37c506ee5222ec1780901cf281b0 /routes | |
parent | 4dc778f836581feaf7b38ae7e41418ab6b4f855a (diff) | |
download | routes-1b298cbdccc0b71bd76fb2e3ba28cffd9b7368e7.tar.gz |
Removing extra unescapes.
--HG--
branch : trunk
Diffstat (limited to 'routes')
-rw-r--r-- | routes/middleware.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/routes/middleware.py b/routes/middleware.py index 7f015c7..1096db4 100644 --- a/routes/middleware.py +++ b/routes/middleware.py @@ -80,11 +80,7 @@ class RoutesMiddleware(object): log.debug("Route path: '%s', defaults: %s", route.routepath, route.defaults) log.debug("Match dict: %s", match) - - for key, val in match.iteritems(): - if val and isinstance(val, basestring): - match[key] = urllib.unquote_plus(val) - + environ['wsgiorg.routing_args'] = ((), match) environ['routes.route'] = route |