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

Stop reencoding URL when calling with_port() #623

Merged
merged 3 commits into from
Nov 1, 2021

Conversation

elciok
Copy link
Contributor

@elciok elciok commented Oct 9, 2021

What do these changes do?

Fixes reencoding of URL elements after calling with_port().

Are there changes in behavior for the user?

No.

Related issue number

Fixes #620.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@webknjaz webknjaz requested a review from asvetlov October 10, 2021 22:49
@codecov
Copy link

codecov bot commented Oct 10, 2021

Codecov Report

Merging #623 (32cb9c1) into master (6f0cfff) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #623   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files           4        4           
  Lines         739      739           
  Branches      165      165           
=======================================
  Hits          737      737           
  Misses          2        2           
Flag Coverage Δ
unit 99.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
yarl/_url.py 99.64% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f0cfff...32cb9c1. Read the comment docs.

@webknjaz
Copy link
Member

@elciok please add a change note per the instructions outlined at https://github.com/aio-libs/yarl/tree/master/CHANGES#readme.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Oct 10, 2021
CHANGES/623.bugfix.rst Outdated Show resolved Hide resolved
@asvetlov asvetlov merged commit 8f77d3b into aio-libs:master Nov 1, 2021
@asvetlov
Copy link
Member

asvetlov commented Nov 1, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URL.with_port() reencoding user/password
3 participants