mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 19:29:51 +00:00
It's possible to cause a 500 error by putting in weird characters in the input field for updating a users website on their profile. Normal invalid input like not including the domain extension is already handled by the user_profile model validation. This fix ensures a server error doesn't occur for weird input characters.