mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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.