Differences From Artifact [66101ddcf7]:
- File
tests/OFURITests.m
— part of check-in
[f1bf64ca9f]
at
2022-09-28 22:02:50
on branch trunk
— Remove -[OFDictionary URIQueryString]
It duplicates the functionality of -[OFMutableURI setQueryDictionary:]. (user: js, size: 13169) [annotate] [blame] [check-ins using]
To Artifact [5a6871bef0]:
- File
tests/OFURITests.m
— part of check-in
[bd6dd6dd00]
at
2022-09-29 21:53:01
on branch trunk
— OFURI: Make query items an array of pairs
With a dictionary the order is lost and keys cannot exist more than
once. (user: js, size: 13287) [annotate] [blame] [check-ins using]
︙ | |||
169 170 171 172 173 174 175 | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | - - - - + + + + | [[[OFURI URIWithString: @"http://host/foo/"] lastPathComponent] isEqual: @"foo"] && [[[OFURI URIWithString: @"http://host/"] lastPathComponent] isEqual: @"/"] && [URI5.lastPathComponent isEqual: @"foo/bar"]) TEST(@"-[query]", [URI1.query isEqual: @"que#ry=1&f&oo=b=ar"] && URI4.query == nil) |
︙ | |||
285 286 287 288 289 290 291 | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | - - - - - + + + + + | [mutableURI.query isEqual: @"que/ry?#"]) EXPECT_EXCEPTION( @"-[setPercentEncodedQuery:] with invalid characters fails", OFInvalidFormatException, mutableURI.percentEncodedQuery = @"`") |
︙ |