RouteUrl issue with character "+"

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Nopcommerce 4.1 or higher.
Method: MessageTokenProvider.cs → RouteUrl  

This method is used to generate an absolute Url using some parameters.

If any of those parameters has "+" (I found this with this character but probably it is not the only one) then the Url is not encoded correctly.

RouteUrl is using -> Uri.EscapeUriString and this function doesn't change the "+" symbol. In nop4.0 "+" was changed by "%20"

How to reproduce this:
The recovery password functionality will not work for customers with a "+" in the email address.
4 years ago
I'm sorry, I could not repeat the problem with creating a password recovery link, in the new version (4.30) everything works without problems because we changed the link template, now it does not contain the email address see this ticket.
4 years ago
Thanks Sergei! Sorry I didn't test it in 4.3. Only in 4.0, 4.1 and 4.2. I will double check in 4.3 and then consider to upgrade.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.