Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Reset password link being incorrectly encoded #65

Open
stompweb opened this issue Jan 25, 2018 · 1 comment
Open

Reset password link being incorrectly encoded #65

stompweb opened this issue Jan 25, 2018 · 1 comment

Comments

@stompweb
Copy link

This is specifically to do with using Restrict Content Pro. Without the plugin activated it works, with the plugin it does not.

The URL is created in Restrict Content Pro here: https://github.com/restrictcontentpro/restrict-content-pro/blob/master/includes/login-functions.php#L284

This produces the following link:

rcp_action=lostpassword_reset&key=fZGz3AJAEt9dnVitYlXF&login=test

However when it runs through the SendGrid plugin this results in:

?rcp_action=lostpassword_reset#038;key=hD67EwiCG0csDHOo7rJa&login=test

So the & is being replaced with a #38;

@stompweb
Copy link
Author

stompweb commented Jan 25, 2018

Sorry, Github has linked an issue where it shouldn't have:

So the & is being replaced with a #38;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant