Differences From Artifact [54ccbf7591]:
- File
src/OFURL.m
— part of check-in
[1483709ab2]
at
2022-08-01 21:20:54
on branch trunk
— Add support for embedding files into binaries
Embedded files are available via the objfw-embedded: URL scheme. (user: js, size: 26582) [annotate] [blame] [check-ins using] [more...]
To Artifact [5340bb2772]:
- File src/OFURL.m — part of check-in [4ad0c363f3] at 2022-08-30 00:48:41 on branch trunk — OFObject: Small API change (user: js, size: 26582) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
887 888 889 890 891 892 893 | } - (OFString *)host { if ([_URLEncodedHost hasPrefix: @"["] && [_URLEncodedHost hasSuffix: @"]"]) { OFString *host = [_URLEncodedHost substringWithRange: | | | 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 | } - (OFString *)host { if ([_URLEncodedHost hasPrefix: @"["] && [_URLEncodedHost hasSuffix: @"]"]) { OFString *host = [_URLEncodedHost substringWithRange: OFMakeRange(1, _URLEncodedHost.length - 2)]; if (!OFURLIsIPv6Host(host)) @throw [OFInvalidArgumentException exception]; return host; } |
︙ | ︙ |