mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
query_handler: only split scheme once in vi_ mode query
This commit is contained in:
parent
8bd8485b5a
commit
186acae46c
@ -73,7 +73,7 @@ class QueryHandler(object):
|
||||
# get metadata
|
||||
if wb_url.mod == 'vi_':
|
||||
# matching metadata explicitly with special scheme
|
||||
schema, rest = wb_url.url.split('://')
|
||||
schema, rest = wb_url.url.split('://', 1)
|
||||
params['url'] = 'metadata://' + rest
|
||||
params['filter'].append('~original:metadata://')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user