seomoz / url-cpp

C++ bindings for url parsing and sanitization
MIT License
19 stars 11 forks source link

Reverse the hostname #30

Closed dlecocq closed 7 years ago

dlecocq commented 7 years ago

For certain applications, we'd like to be able to reverse the hostname of a URL. As in example.com -> com.example. This makes schemeless URLs easily grouped by lexicographically sorting them.

@b4hand @neilmb @sistawendy