-
- Downloads
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').
Loading
Please register or sign in to comment