# User Preference 'Website' does not allow new TLDs

**URL:** https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931
**Category:** Bug
**Created:** [September 9, 2016, 1:08pm UTC](https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931 "2016-09-09T13:08:57Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [August 2, 2017, 8:20am UTC](https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931/13 "2017-08-02T08:20:24Z")

</div>

Had to fix the regexp as it was allowing “`http://https://google.com`”

[https://github.com/discourse/discourse/commit/e43799134c03d0180ef64dc941f61c26f5219314](https://github.com/discourse/discourse/commit/e43799134c03d0180ef64dc941f61c26f5219314)

---

_[View the full topic](https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931)._
