mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
xmlquery: remove space after the "limit:" query field name (#640)
OutbackCDX can't handle a space here as it decodes fields by splitting on space.
This commit is contained in:
parent
abb76911f5
commit
551b8fe026
@ -78,7 +78,7 @@ com,example)/ 20180112200243 example.warc.gz
|
||||
com,example)/ 20180216200300 example.warc.gz"""
|
||||
assert(key_ts_res(reslist) == expected)
|
||||
assert(errs == {})
|
||||
assert query_url == 'http://localhost:8080/path?q=limit%3A+100+type%3Aurlquery+url%3Ahttp%253A%252F%252Fexample.com%252F'
|
||||
assert query_url == 'http://localhost:8080/path?q=limit%3A100+type%3Aurlquery+url%3Ahttp%253A%252F%252Fexample.com%252F'
|
||||
assert reslist[0]['length'] == '123'
|
||||
assert 'length' not in reslist[1]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user