Skip to content
Snippets Groups Projects
Commit fc505d9b authored by Tobias S. Josefowitz's avatar Tobias S. Josefowitz
Browse files

Standards.URI: Make string representation canonical again

We used to simply put the raw string input URI into the sprintf_cache
for the object. Unfortunately, since __hash() depends on the output of
_sprintf('s') while `==() does not, this lead to identical URIs with
differing hash values, as well as non-canonically-formatted string
representations of the URI returned from (string)uri and _sprintf('s').
parent 4274157f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment