Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract methods to decode and encode URI segments
I wonder if we might want to roll our own eventually, seeing the state of Ruby URI encoding/decoding methods are kinda of a mess. - URI.encode_uri_component encodes ~ as %7E, which is not what we want. - ERB::Util.url_encode does not encode ~, but has no symmetric ERB::Util.url_decode method.
- Loading branch information