Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
busche wants to merge 2 commits into
python-hyper:mainpython-hyper/rfc3986:mainfrom
busche:mainbusche/rfc3986:mainCopy head branch name to clipboard
Open

percent-encode path components in add_path (#104)#106
busche wants to merge 2 commits into
python-hyper:mainpython-hyper/rfc3986:mainfrom
busche:mainbusche/rfc3986:mainCopy head branch name to clipboard

Conversation

@busche

@busche busche commented May 8, 2023

Copy link
Copy Markdown

PR proposal as requested by @sigmavirus24 in #104 .

Feel free to comment & suggest.

@busche

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.

Suggested change
return self.add_path(path, encoding)
return self.add_path(path, encoding="utf-8")

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.