Parse pathname without query params. Fixes #44