MTG / freesound

The Freesound website
https://freesound.org
GNU Affero General Public License v3.0
317 stars 88 forks source link

Plus (+) symbol in username breaks search query #1787

Closed Headphaze closed 1 month ago

Headphaze commented 2 months ago

This is an example of a user with a plus symbol in the name https://freesound.org/people/cookies+policy/

When on their profile page, clicking on "see all sounds by [user+name]" the name is used in the URL query; the plus (+) symbol is treated like a space and it will return no results because the username does not match the search being made. Instead, the plus symbol should be converted to code [%2b] in order for it to be properly queried.

Cheers, Sam