Differences From Artifact [a54f13b109]:
- File src/platform/Windows/OFString+PathAdditions.m — part of check-in [4ad0c363f3] at 2022-08-30 00:48:41 on branch trunk — OFObject: Small API change (user: js, size: 9643) [annotate] [blame] [check-ins using]
To Artifact [44724633ab]:
- File
src/platform/Windows/OFString+PathAdditions.m
— part of check-in
[114576fe94]
at
2022-09-04 18:27:46
on branch trunk
— Remove -[OFString stringByPrependingString:]
The same can be achieved using -[OFString stringByAppendingString:] and
swapping the order of arguments. (user: js, size: 9643) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
361 362 363 364 365 366 367 | [OFCharacterSet URLHostAllowedCharacterSet]]; path = [OFString pathWithComponents: [components objectsInRange: OFMakeRange(2, components.count - 2)]]; } path = [path stringByReplacingOccurrencesOfString: @"\\" withString: @"/"]; | | | 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 | [OFCharacterSet URLHostAllowedCharacterSet]]; path = [OFString pathWithComponents: [components objectsInRange: OFMakeRange(2, components.count - 2)]]; } path = [path stringByReplacingOccurrencesOfString: @"\\" withString: @"/"]; path = [@"/" stringByApppendingString: path]; return path; } - (OFString *)of_URLPathToPathWithURLEncodedHost: (OFString *)URLEncodedHost { OFString *path = self; |
︙ | ︙ |