+ Start a Discussion
Sai MadupuSai Madupu 

Reset URL being double decoded from triggrerd email


I'm using the triggered send from ET for the forgot password mail to a client. But for some reason the URL gets double encoded 
Created / Passed fromback-end (java)https://example.com/tools/resetpassword.reset.html?key=xuklHH9758Zny1zGDn0eG1kVuUvkUlgxLeV9hjKY7sg%3D
Stored in Marketing Cloudhttps://example.com/tools/resetpassword.reset.html?key=xuklHH9758Zny1zGDn0eG1kVuUvkUlgxLeV9hjKY7sg%3D
Presented in Email Linkhttps://example.com/tools/resetpassword.reset.html?key=xuklHH9758Zny1zGDn0eG1kVuUvkUlgxLeV9hjKY7sg%3D
After clicking link, the link from above loads in the browser and is then redirected to:https://www.example.com/tools/resetpassword.reset.html?key=xuklHH9758Zny1zGDn0eG1kVuUvkUlgxLeV9hjKY7sg%253D

Below is the HTML coed that I have used 

<a class="mcnButton" title="Password Reset"  decodeURIComponent(href="%%reset_url%%") target="_blank" style="font-weight: normal;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;">Reset Password</a>

As you can see I have used the DecodeURI, but that doesn't work either. Since the URL is broken it does take me to the page ,but it doesn't reset the password.  
Kindly help me.