diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-01-12 08:17:24 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-01-13 04:09:44 +0100 |
commit | dda2b0135cdb6383a7e5c3033302e2822abb10ff (patch) | |
tree | 94bf16f885a63a8f86e32b32a0dadce1eb46751e | |
parent | Add extremely horrible statistics page. (diff) | |
download | zmusic-ng-dda2b0135cdb6383a7e5c3033302e2822abb10ff.tar.xz zmusic-ng-dda2b0135cdb6383a7e5c3033302e2822abb10ff.zip |
Allow slashes in queries.
-rw-r--r-- | backend/zmusic/endpoints/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/zmusic/endpoints/query.py b/backend/zmusic/endpoints/query.py index b4a7f34..344b4a5 100644 --- a/backend/zmusic/endpoints/query.py +++ b/backend/zmusic/endpoints/query.py @@ -6,7 +6,7 @@ import shlex @app.route('/query', defaults={ "query": "" }) @app.route('/query/', defaults={ "query": "" }) -@app.route('/query/<query>') +@app.route('/query/<path:query>') @login_required def query(query): offset = request.args.get("offset", 0, int) |