Invalid URL in user profile website during editing leads to 500 error #1169
Labels
area: ruby
Changes to server-side code
complexity: easy
Issues that should take limited effort to resolve/fix/build.
priority: high
type: bug
Something isn't working
Describe the bug
If a user enters text into the "Website" input box during editing their user profile, and that text is not recognised as a valid URL, the user sees a 500 error page rather than meaningful feedback.
To Reproduce
Steps to reproduce the behavior:
a"
into the "Website" input box.Expected behavior
The user should see feedback so that they know that it was the website that was rejected. They could have changed many things at once in that edit, and the 500 error page gives no indication of which of those things was a problem.
The text was updated successfully, but these errors were encountered: