FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

percent-encode path components in add_path (#104) by busche · Pull Request #106 · python-hyper/rfc3986 · GitHub

percent-encode path components in add_path (#104) - #106

Open
busche wants to merge 2 commits into
python-hyper:mainfrom
busche:main
Open

percent-encode path components in add_path (#104)#106
busche wants to merge 2 commits into
python-hyper:mainfrom
busche:main

Conversation

busche commented May 8, 2023

Copy link
Copy Markdown

PR proposal as requested by @sigmavirus24 in #104 .

Feel free to comment & suggest.

busche commented Jun 27, 2023

Copy link
Copy Markdown
Author

Hi @sigmavirus24

what can I contribute in order to get my patch merged?

Best,
André

Comment thread src/rfc3986/builder.py
path = "{}/{}".format(existing_path.rstrip("/"), path.lstrip("/"))

return self.add_path(path)
return self.add_path(path, encoding)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
return self.add_path(path, encoding)
return self.add_path(path, encoding="utf-8")

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL