aboutsummaryrefslogtreecommitdiff
path: root/asn1crypto/x509.py
diff options
context:
space:
mode:
authorwbond <will@wbond.net>2018-09-04 07:11:27 -0400
committerwbond <will@wbond.net>2018-09-04 07:11:27 -0400
commit9e15efd73f1b7cfba73cb56b3188eb879480f77c (patch)
treefe33caf11fdfc7823aa73deb455fff81fe8263d9 /asn1crypto/x509.py
parent3241e11c5c32ee9fe4f42bd9fbc63ee7f8b8d52f (diff)
downloadasn1crypto-9e15efd73f1b7cfba73cb56b3188eb879480f77c.tar.gz
Only normalize URIs when comparing
Diffstat (limited to 'asn1crypto/x509.py')
-rw-r--r--asn1crypto/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1crypto/x509.py b/asn1crypto/x509.py
index 428404c..938bb41 100644
--- a/asn1crypto/x509.py
+++ b/asn1crypto/x509.py
@@ -163,7 +163,7 @@ class URI(IA5String):
if not isinstance(other, URI):
return False
- return iri_to_uri(self.native) == iri_to_uri(other.native)
+ return iri_to_uri(self.native, True) == iri_to_uri(other.native, True)
def __unicode__(self):
"""