Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

origin() does not keep IPv6 brackets #504

Closed
serhiy-storchaka opened this issue Sep 21, 2020 · 0 comments · Fixed by #503
Closed

origin() does not keep IPv6 brackets #504

serhiy-storchaka opened this issue Sep 21, 2020 · 0 comments · Fixed by #503

Comments

@serhiy-storchaka
Copy link
Contributor

For example:

>>> u = URL('http://[::1].org:8080')
>>> u
URL('http://[::1]:8080')
>>> u.origin()
URL('http://::1:8080')
@helpr helpr bot added the pr-available label Sep 21, 2020
@helpr helpr bot added pr-merged and removed pr-available labels Sep 23, 2020
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Oct 2, 2020
Fix dependencies.

1.6.0 (2020-09-23)
==================

Features
--------

- Allow for int and float subclasses in query, while still denying bool.
  `#492 <https://github.com/aio-libs/yarl/issues/492>`_


Bugfixes
--------

- Do not requote arguments in ``URL.build()``, ``with_xxx()`` and in ``/`` operator.
  `#502 <https://github.com/aio-libs/yarl/issues/502>`_
- Keep IPv6 brackets in ``origin()``.
  `#504 <https://github.com/aio-libs/yarl/issues/504>`_
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this issue Oct 29, 2020
https://build.opensuse.org/request/show/838272
by user dirkmueller + dimstar_suse
- update to 1.6.0:
  - Allow for int and float subclasses in query, while still denying bool.
    `#492 <https://github.com/aio-libs/yarl/issues/492>`_
  - Do not requote arguments in ``URL.build()``, ``with_xxx()`` and in ``/`` operator.
    `#502 <https://github.com/aio-libs/yarl/issues/502>`_
  - Keep IPv6 brackets in ``origin()``.
    `#504 <https://github.com/aio-libs/yarl/issues/504>`_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant