Differences From Artifact [18f43044b2]:
- File src/OFString+URLEncoding.m — part of check-in [179c625d15] at 2016-03-28 19:33:50 on branch trunk — URL encoding: Make sure an unsigned shift is used (user: js, size: 3750) [annotate] [blame] [check-ins using] [more...]
To Artifact [134edb9cf7]:
- File
src/OFString+URLEncoding.m
— part of check-in
[32bc855af9]
at
2016-07-02 23:35:54
on branch trunk
— OFString+URLEncoding.m: Do not parse + as space
This should only be done for the query string. (user: js, size: 3695) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
104 105 106 107 108 109 110 | exceptionWithRequestedSize: [self UTF8StringLength] + 1]; for (i = 0; *string; string++) { switch (state) { case 0: if (*string == '%') state = 1; | < < | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | exceptionWithRequestedSize: [self UTF8StringLength] + 1]; for (i = 0; *string; string++) { switch (state) { case 0: if (*string == '%') state = 1; else retCString[i++] = *string; break; case 1: case 2:; uint8_t shift = (state == 1 ? 4 : 0); |
︙ | ︙ |