# 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. September 2016 um 13: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:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [9. September 2016 um 13:50 UTC](https://meta.discourse.org/t/user-preference-website-does-not-allow-new-tlds/49931/2 "2016-09-09T13:50:02Z")

</div>

Here is the relevant line

> <https://github.com/discourse/discourse/blob/1f5325e3f03db06aff71f1e1d9343ee2b7f21ed2/app/models/user_profile.rb#L4>

Changing the 2,10 to 2, would permit any length, but not sure if that would be the right modification for this.

---

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