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

Do not double-encode mailto parameters #2569

Closed
wants to merge 1 commit into from

Conversation

ChristophWurst
Copy link
Member

Steps to reproduce

Before: get the new message page with an email like user%40domain.tld filled in
After: get new message page with [email protected] filled in

The reason for this bug is that parse_url does not URL decode the parameters, hence they ended up being encoded twice.

Copy link
Contributor

@GretaD GretaD left a comment

Choose a reason for hiding this comment

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

Noice Noice!

@ChristophWurst
Copy link
Member Author

nextcloud/server#19176 actually replaces this PR.

@ChristophWurst ChristophWurst deleted the fix/mailto-redirect-double-encoding branch January 28, 2020 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants