commit | 9e15efd73f1b7cfba73cb56b3188eb879480f77c | [log] [tgz] |
---|---|---|
author | wbond <will@wbond.net> | Tue Sep 04 07:11:27 2018 -0400 |
committer | wbond <will@wbond.net> | Tue Sep 04 07:11:27 2018 -0400 |
tree | fe33caf11fdfc7823aa73deb455fff81fe8263d9 | |
parent | 3241e11c5c32ee9fe4f42bd9fbc63ee7f8b8d52f [diff] [blame] |
Only normalize URIs when comparing
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 @@ 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): """