Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're expecting a string to be a URL, failing to parse it as a URL is indeed an unexpected situation.


An invalid URL in a config file is exceptional. An invalid URL typed in by a user or from an external source (eg the body of an API request or inside of some HTML) is Tuesday.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: