# 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:** [9 سبتمبر 2016، 1:08م 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:** 12

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [2 أغسطس 2017، 7:01ص UTC](https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931/12 "2017-08-02T07:01:44Z")

</div>

> [@JamesNorth](#):
>
> jamesnorth.productions

I’m looking at the code right now. The regexp highlighted earlier in the topic is an easy fix.

[https://github.com/discourse/discourse/pull/5020](https://github.com/discourse/discourse/pull/5020)

> <https://github.com/begrif/discourse/blob/d471ad08c6d5c06ba244fbd0913dacb3c6c43999/app/models/user_profile.rb#L115>

It still needs to pass user website whitelist, if set. I don’t know how often that is set.

---

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