Skip to content

Commit 25dffd6

Browse files
committed
Release v1.4.0 and document with release notes
We have a minor security fix in this version that was merged this morning and which I'd like to release today.
1 parent dbbeb54 commit 25dffd6

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

docs/source/release-notes/1.4.0.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
1.3.0 -- 2020-04-07
2+
-------------------
3+
4+
Security
5+
~~~~~~~~
6+
7+
- Prevent users from receiving an invalid authority parsed from a malicious
8+
URL. Previously we did not stop parsing the authority section at the first
9+
backslash (``\\``) character. As a result, it was possible to trick our
10+
parser into parsing up to the first forward-slash (``/``) and thus
11+
generating an invalid authority.
12+
13+
See also `GitHub pr-64`_ and `the blog post that sparked this change`_
14+
15+
Bug Fixes and Features
16+
~~~~~~~~~~~~~~~~~~~~~~
17+
18+
- Add ``from_uri`` to ``URIBuilder`` to allow creation of a ``URIBuilder``
19+
from an existing URI.
20+
21+
See also `GitHub pr-63`_
22+
23+
- Fix a typographical error in our documentation.
24+
25+
See also `GitHub pr-61`_
26+
27+
.. links
28+
29+
.. _GitHub pr-61:
30+
https://github.com/python-hyper/rfc3986/pull/61
31+
32+
.. _GitHub pr-63:
33+
https://github.com/python-hyper/rfc3986/pull/63
34+
35+
.. _GitHub pr-64:
36+
https://github.com/python-hyper/rfc3986/pull/64
37+
38+
.. _the blog post that sparked this change:
39+
https://bugs.xdavidhu.me/google/2020/03/08/the-unexpected-google-wide-domain-check-bypass/

docs/source/release-notes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ here with the newest releases first.
1010

1111
.. toctree::
1212

13+
1.4.0
1314
1.3.2
1415
1.3.1
1516
1.3.0

src/rfc3986/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
__author__ = 'Ian Stapleton Cordasco'
3636
__author_email__ = '[email protected]'
3737
__license__ = 'Apache v2.0'
38-
__copyright__ = 'Copyright 2014 Rackspace'
39-
__version__ = '1.3.2'
38+
__copyright__ = 'Copyright 2014 Rackspace; 2016 Ian Stapleton Cordasco'
39+
__version__ = '1.4.0'
4040

4141
__all__ = (
4242
'ParseResult',

0 commit comments

Comments
 (0)