From b10f0cd04142bd03c330e5ef2982d000df8dde52 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Sun, 8 Dec 2013 19:44:14 -0800 Subject: [PATCH] switch to IRI --- pywb/aurl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pywb/aurl.py b/pywb/aurl.py index 5e799962..36314351 100644 --- a/pywb/aurl.py +++ b/pywb/aurl.py @@ -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)