Title: Encoding Issue
Last modified: October 31, 2017

---

# Encoding Issue

 *  [mpdm](https://wordpress.org/support/users/mpdm/)
 * (@mpdm)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/encoding-issue-5/)
 * Hello,
 * I have a problem with the URL which is generated by using the %reseturl% variable.
   If a username starts with “be”, the link looks like:
 * _/resetpass/?key=m83mEJ4e5W43qvALzqAd**&loginrndtest**_
 * it should be:
    _/resetpass/?key=m83mEJ4e5W43qvALzqAd**&login=berndtest**_
 * the username I’ve chosen was “berndtest”. It looks like the String “=be” is cut
   off.
    I think the problem is caused in the file “custom-email.php”, right there:
 * `'%reseturl%' => site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode(
   $user_login ), 'login' )`
 * Can you reproduce this issue?
 * Thanks!
    -  This topic was modified 8 years, 7 months ago by [mpdm](https://wordpress.org/support/users/mpdm/).

The topic ‘Encoding Issue’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [email](https://wordpress.org/support/topic-tag/email/)
 * [encoding](https://wordpress.org/support/topic-tag/encoding/)
 * [resetpass](https://wordpress.org/support/topic-tag/resetpass/)

 * 0 replies
 * 1 participant
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/encoding-issue-5/)
 * Status: not resolved