Code of Conduct
Submission validity
Self troubleshooting
Version
1.9.2
Description
When using a simple custom plugin such as shown in #3694 to allow (%20) in shorturl keywords, it is still not possible to create a custom keyword containing via the admin panel.
As submitted to the admin-ajax.php endpoint, the custom keyword (e.g. some space) appears to be double-escaped as some%2520space in the parameters sent. This leads the backend to create a shorturl with the incorrect keyword some20space.
Expectation
The frontend should only escape the keyword parameter containing a space once (some%20space), and the backend should then create the keyword some space (assuming that has been added to the shorturl charset by a plugin).
Reproduction steps
No response
Context
No response
Code of Conduct
Submission validity
Self troubleshooting
Version
1.9.2
Description
When using a simple custom plugin such as shown in #3694 to allow
(%20) in shorturl keywords, it is still not possible to create a custom keyword containingvia the admin panel.As submitted to the
admin-ajax.phpendpoint, the custom keyword (e.g.some space) appears to be double-escaped assome%2520spacein the parameters sent. This leads the backend to create a shorturl with the incorrect keywordsome20space.Expectation
The frontend should only escape the keyword parameter containing a space once (
some%20space), and the backend should then create the keywordsome space(assuming thathas been added to the shorturl charset by a plugin).Reproduction steps
No response
Context
No response