mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
switch to IRI
This commit is contained in:
parent
10bf465367
commit
b10f0cd041
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import re
|
||||
import rfc3987
|
||||
|
||||
@ -55,7 +57,7 @@ class aurl:
|
||||
if not any (f(self, url) for f in [aurl._init_query, aurl._init_replay]):
|
||||
raise RequestParseException('Invalid WB Request Url: ' + url)
|
||||
|
||||
matcher = rfc3987.match(self.url, 'URI_reference')
|
||||
matcher = rfc3987.match(self.url, 'IRI_reference')
|
||||
|
||||
if not matcher:
|
||||
raise RequestParseException('Bad Request Url: ' + self.url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user