Differences From Artifact [674edf5266]:
- File
src/OFURL.m
— part of check-in
[a15b403a11]
at
2017-11-06 23:01:57
on branch trunk
— OFURL: Store the URL-encoded version internally
This allows retrieving it how it was originally stored, which is useful
for example for query strings, as these often URL-encode allowed
characters in order to allow pairs of the form foo=bar&bar=qux. (user: js, size: 17901) [annotate] [blame] [check-ins using]
To Artifact [4ba08a7ab6]:
- File src/OFURL.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 17938) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
587 588 589 590 591 592 593 594 595 596 597 598 599 600 | [super dealloc]; } - (bool)isEqual: (id)object { OFURL *URL; if (![object isKindOfClass: [OFURL class]]) return false; URL = object; if (URL->_URLEncodedScheme != _URLEncodedScheme && | > > > | 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 | [super dealloc]; } - (bool)isEqual: (id)object { OFURL *URL; if (object == self) return true; if (![object isKindOfClass: [OFURL class]]) return false; URL = object; if (URL->_URLEncodedScheme != _URLEncodedScheme && |
︙ | ︙ |