wordpress icon indicating copy to clipboard operation
wordpress copied to clipboard

Reset password link being incorrectly encoded

Open stompweb opened this issue 7 years ago • 1 comments

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 #038;

stompweb avatar Jan 25 '18 11:01 stompweb

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

So the & is being replaced with a #38;

stompweb avatar Jan 25 '18 11:01 stompweb