mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 07:53:42 +08:00
0e9451e93f
When "unicode_usernames" is enabled, calling the "user_path" helper with a username containing some non ASCII character will break due to the route constraint we have on username. This fixes the issue by always encoding the username before passing it to the "user_path" helper. Internal ref - t/127547 |
||
---|---|---|
.. | ||
index.html.erb |