cemerick/url

support url split on percent encoded slash

Closed this issue · 2 comments

The url is not split in correct parts if "/" is percent encoded (%2F). Would it be nice to support percent encoded slashes?

If we did this, then you couldn't have portions of a path contain URL-encoded slashes. It sounds like you need to decode certain portions of the path, and then reconstruct the URL.

Why couldn't I have encoded slashes as well as decoded slashes in portions of a path?