URL validation for "Web Site" on user profile

Some validation would be nice on the “Web Site” field on user profiles.

Currently, users are able to enter invalid URL’s like this one

http://https://www.facebook.com/FacebookUK

Side-note - I feel like “Web Site” should really be “Website”:

  • the AP Stylebook changed 5/6 years ago
  • Google search results for “website” - 5,450,000,000
  • Google search results for “web site” - 597,000,000
9 Likes

How brave are you feeling :smile: this should be a rather simple PR :wink:

@techapj this would be a good check for us to add.

2 Likes

Would love to, but time is a killer for me right now.

When I can I will.

For now I’ll keep setting 'em up for you guys to shoot at :gun:

3 Likes

Done via

https://github.com/discourse/discourse/commit/8a7868be077d4e4d142f94d6e588c766d58a604a

5 Likes