mirror of
https://github.com/koniu/recoll-webui.git
synced 2025-10-03 09:49:25 +02:00
py/tpl: fix #4 ('..' breaks WSGI, use './' instead)
Thanks to nberelidze@github for spotting and providing solution.
This commit is contained in:
parent
7824cd35d0
commit
740f507c0e
5 changed files with 6 additions and 6 deletions
2
webui.py
2
webui.py
|
@ -274,7 +274,7 @@ def set():
|
|||
for d in config['dirs']:
|
||||
cookie_name = 'mount_%s' % urllib.quote(d, '')
|
||||
bottle.response.set_cookie(cookie_name, str(bottle.request.query.get('mount_%s' % d)), max_age=3153600000)
|
||||
bottle.redirect('..')
|
||||
bottle.redirect('./')
|
||||
#}}}
|
||||
#}}}
|
||||
# vim: fdm=marker:tw=80:ts=4:sw=4:sts=4:et
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue