medialize/URI.js — Issue #17: .domain() and Domain suffixes with two parts (i.e. co.uk)
Author: speigei
Created: 2012-02-14 23:34:06+00:00
State: open

Technically, URI.js is most likely returning the correct value, however I was wondering how the following issue could be resolved most elegantly:

```javascript
URI("http://amazon.co.uk").domain()
"co.uk"
```
... the value I was expecting was "amazon.co.uk".
So, whenever the suffix of a domain consists out of two parts (co.uk, com.tr) `domain()` returns a value which is not really expected/useful.
Any help for how to treat these composed domain suffixes would be appreciated. Thanks.