Differences From Artifact [9ad96294d0]:
- File
src/OFString+URLEncoding.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 3566) [annotate] [blame] [check-ins using]
To Artifact [92e75db2c6]:
- File
src/OFString+URLEncoding.m
— part of check-in
[4db6713bda]
at
2017-10-31 21:55:41
on branch trunk
— OFString+URLEncoding: Change default allowed chars
This is now unreserved + sub-delims from RFC 3986. (user: js, size: 3389) [annotate] [blame] [check-ins using]
︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + + | /* Reference for static linking */ int _OFString_URLEncoding_reference; @implementation OFString (URLEncoding) - (OFString *)stringByURLEncoding { |
︙ | |||
49 50 51 52 53 54 55 | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - - - - - | if ((retCString = malloc(([self UTF8StringLength] * 3) + 1)) == NULL) @throw [OFOutOfMemoryException exceptionWithRequestedSize: ([self UTF8StringLength] * 3) + 1]; for (i = 0; *string != '\0'; string++) { unsigned char c = *string; |
︙ |