mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
account for surt fix in urlcanon 0.3.0
This commit is contained in:
parent
1e0a0ca63a
commit
cb2a07bff2
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ import setuptools
|
||||
deps = [
|
||||
'certauth==1.1.6',
|
||||
'warctools>=4.10.0',
|
||||
'urlcanon>=0.1.dev16',
|
||||
'urlcanon>=0.3.0',
|
||||
'doublethink>=0.2.0.dev87',
|
||||
'urllib3>=1.14',
|
||||
'requests>=2.0.1',
|
||||
|
@ -965,12 +965,12 @@ def test_block_rules(http_daemon, https_daemon, warcprox_, archiving_proxies):
|
||||
},
|
||||
{
|
||||
"url_match": "SURT_MATCH",
|
||||
"value": "http://(localhost:%s,)/fuh/" % (http_daemon.server_port),
|
||||
"value": "http://(localhost,:%s)/fuh/" % (http_daemon.server_port),
|
||||
},
|
||||
{
|
||||
"url_match": "SURT_MATCH",
|
||||
# this rule won't match because of http scheme, https port
|
||||
"value": "http://(localhost:%s,)/fuh/" % (https_daemon.server_port),
|
||||
"value": "http://(localhost,:%s)/fuh/" % (https_daemon.server_port),
|
||||
},
|
||||
{
|
||||
"domain": "bad.domain.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user