Overview
Comment: | OFMutableURL: Fix setting to nil |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a1299b581b01a25760d27d288129806f |
User & Date: | js on 2017-11-19 19:44:32 |
Other Links: | manifest | tags |
Context
2017-11-19
| ||
21:24 | -[OFURL mutableCopy]: Avoid reverification check-in: d2d5d43db7 user: js tags: trunk | |
19:44 | OFMutableURL: Fix setting to nil check-in: a1299b581b user: js tags: trunk | |
14:41 | Fix compiling as ObjC++ check-in: 487aa4d51b user: js tags: trunk | |
Changes
Modified src/OFMutableURL.m from [e4b33c27ce] to [257c609561].
︙ | ︙ | |||
54 55 56 57 58 59 60 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedScheme: (OFString *)URLEncodedScheme { OFString *old; | > | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedScheme: (OFString *)URLEncodedScheme { OFString *old; if (URLEncodedScheme != nil) of_url_verify_escaped(URLEncodedScheme, [OFCharacterSet URLSchemeAllowedCharacterSet]); old = _URLEncodedScheme; _URLEncodedScheme = [URLEncodedScheme copy]; [old release]; } - (void)setHost: (OFString *)host |
︙ | ︙ | |||
79 80 81 82 83 84 85 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedHost: (OFString *)URLEncodedHost { OFString *old; | > | | | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedHost: (OFString *)URLEncodedHost { OFString *old; if (URLEncodedHost != nil) of_url_verify_escaped(URLEncodedHost, [OFCharacterSet URLHostAllowedCharacterSet]); old = _URLEncodedHost; _URLEncodedHost = [URLEncodedHost copy]; [old release]; } - (void)setPort: (OFNumber *)port |
︙ | ︙ | |||
111 112 113 114 115 116 117 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedUser: (OFString *)URLEncodedUser { OFString *old; | > | | | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedUser: (OFString *)URLEncodedUser { OFString *old; if (URLEncodedUser != nil) of_url_verify_escaped(URLEncodedUser, [OFCharacterSet URLUserAllowedCharacterSet]); old = _URLEncodedUser; _URLEncodedUser = [URLEncodedUser copy]; [old release]; } - (void)setPassword: (OFString *)password |
︙ | ︙ | |||
137 138 139 140 141 142 143 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedPassword: (OFString *)URLEncodedPassword { OFString *old; | > | | | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedPassword: (OFString *)URLEncodedPassword { OFString *old; if (URLEncodedPassword != nil) of_url_verify_escaped(URLEncodedPassword, [OFCharacterSet URLPasswordAllowedCharacterSet]); old = _URLEncodedPassword; _URLEncodedPassword = [URLEncodedPassword copy]; [old release]; } - (void)setPath: (OFString *)path |
︙ | ︙ | |||
162 163 164 165 166 167 168 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedPath: (OFString *)URLEncodedPath { OFString *old; | > | | | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedPath: (OFString *)URLEncodedPath { OFString *old; if (URLEncodedPath != nil) of_url_verify_escaped(URLEncodedPath, [OFCharacterSet URLPathAllowedCharacterSet]); old = _URLEncodedPath; _URLEncodedPath = [URLEncodedPath copy]; [old release]; } - (void)setPathComponents: (OFArray *)components |
︙ | ︙ | |||
207 208 209 210 211 212 213 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedQuery: (OFString *)URLEncodedQuery { OFString *old; | > | | | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedQuery: (OFString *)URLEncodedQuery { OFString *old; if (URLEncodedQuery != nil) of_url_verify_escaped(URLEncodedQuery, [OFCharacterSet URLQueryAllowedCharacterSet]); old = _URLEncodedQuery; _URLEncodedQuery = [URLEncodedQuery copy]; [old release]; } - (void)setFragment: (OFString *)fragment |
︙ | ︙ | |||
233 234 235 236 237 238 239 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedFragment: (OFString *)URLEncodedFragment { OFString *old; | > | | | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | objc_autoreleasePoolPop(pool); } - (void)setURLEncodedFragment: (OFString *)URLEncodedFragment { OFString *old; if (URLEncodedFragment != nil) of_url_verify_escaped(URLEncodedFragment, [OFCharacterSet URLFragmentAllowedCharacterSet]); old = _URLEncodedFragment; _URLEncodedFragment = [URLEncodedFragment copy]; [old release]; } - (id)copy |
︙ | ︙ |