diff options
author | Donald Stufft <donald@stufft.io> | 2013-06-20 13:33:08 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-06-20 13:33:08 -0400 |
commit | 08a589da873c5178e1118722e03d318fab212779 (patch) | |
tree | 4c2cfae14c006fe4a92fbbb371e2fb056ed3902b | |
parent | 79ed46c3ed6a3ca528a2a6551bcaadfe8babd1b6 (diff) | |
download | decorator-08a589da873c5178e1118722e03d318fab212779.tar.gz |
Revert and unneeded change
-rw-r--r-- | webui.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -783,8 +783,9 @@ class WebUI: def run_simple_sign(self): path = self.env.get('PATH_INFO') - # Helper to support this working with simple WSGI main script. - path = path.strip('/') + if not path.endswith('/'): + raise Redirect, self.config.simple_sign_script+path+'/' + path = path[1:-1] if '/' in path: raise NotFound, path html = self.simple_body(path) |