seomoz / url-cpp

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

Check segment lengths #22

Closed dlecocq closed 8 years ago

dlecocq commented 8 years ago

One issue I ran into when trying to pull batleth up to the new url-py was that the Python IDNA codec checks to make sure segments aren't too long and aren't empty. Replicate this functionality here.

@b4hand @tammybailey @lindseyreno

dlecocq commented 8 years ago

Any objections? #23 is based on this one

b4hand commented 8 years ago

LGTM