aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-08-01 19:27:06 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-08-01 20:27:06 -0400
commit6c29d74cfb60ba9480f2fcef18459cc532b2f33b (patch)
treea3ae324d93b584b67171a265fa2bc74ccb3372fd /docs/x509
parent7f40239ea2a8ac276f8dbf07fd51d1ff5e98c565 (diff)
downloadcryptography-6c29d74cfb60ba9480f2fcef18459cc532b2f33b.tar.gz
cryptography-6c29d74cfb60ba9480f2fcef18459cc532b2f33b.tar.bz2
cryptography-6c29d74cfb60ba9480f2fcef18459cc532b2f33b.zip
deprecate auto-idna on UniformResourceIdentifier (#3832)
* deprecate auto-idna on UniformResourceIdentifier * fix repr test * docs * some updated language
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/reference.rst19
1 files changed, 15 insertions, 4 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index ea748468..5b0bcd45 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1271,15 +1271,26 @@ General Name Classes
.. versionadded:: 0.9
This corresponds to a uniform resource identifier. For example,
- ``https://cryptography.io``. The URI is parsed and IDNA decoded (see
- :rfc:`5895`).
+ ``https://cryptography.io``.
- .. note::
+ ..note::
- URIs that do not contain ``://`` in them will not be decoded.
+ Starting with version 2.1 unicode input is deprecated. If passing an
+ internationalized domain name (IDN) you should first IDNA encode the
+ hostname and then pass the resulting bytes.
+
+ .. attribute:: bytes_value
+
+ .. versionadded:: 2.1
+
+ :type: bytes
.. attribute:: value
+ .. deprecated:: 2.1
+
+ Deprecated accessor for the idna-decoded value of :attr:`bytes_value`
+
:type: :term:`text`
.. class:: IPAddress(value)