Hacker News new | past | comments | ask | show | jobs | submit login

Every programming language has a library to parse urls.

Please, for the love of your own mothers, people: stop pretending like you know how to parse urls like they're strings. You don't. And even if you can, you won't do it right every time.

It's been demonstrated over and over again.

Just use the already tested url facilities to give you the host/path/query parameters




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

Search: