Overview
Comment: | Always make DNS names lowercase
This avoids problems when comparing them. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ce2b26816313ad34958b5d92eb5e6e53 |
User & Date: | js on 2023-04-17 11:56:02 |
Other Links: | manifest | tags |
Context
2023-04-17
| ||
14:54 | GitHub Actions: Significantly reduce *BSD tests check-in: 31cd763da0 user: js tags: trunk | |
11:56 | Always make DNS names lowercase check-in: ce2b268163 user: js tags: trunk | |
2023-04-16
| ||
22:44 | GitHub Actions: Fix wrong pkg for clang on DFBSD check-in: 076889bd2e user: js tags: trunk | |
Changes
Modified src/OFDNSQuery.m from [dd82bc9fff] to [f7f99b0724].
︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + | @try { void *pool = objc_autoreleasePoolPush(); if (![domainName hasSuffix: @"."]) domainName = [domainName stringByAppendingString: @"."]; |
︙ |
Modified src/OFDNSResolver.m from [476e39eb2a] to [1f222a13ca].
︙ | |||
419 420 421 422 423 424 425 | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | - + | { OFMutableDictionary *ret = [OFMutableDictionary dictionary]; OFEnumerator OF_GENERIC(OFMutableArray *) *objectEnumerator; OFMutableArray *array; for (uint_fast16_t j = 0; j < count; j++) { OFString *name = parseName(buffer, length, i, |
︙ |
Modified src/OFDNSResolverSettings.m from [efbcc5cf61] to [179fc83ef4].
︙ | |||
290 291 292 293 294 295 296 | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | - - + + + + | continue; address = components.firstObject; hosts = [components objectsInRange: OFMakeRange(1, components.count - 1)]; for (OFString *host in hosts) { |
︙ | |||
498 499 500 501 502 503 504 | 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 | - - + + + + | continue; address = components.firstObject; hosts = [components objectsInRange: OFMakeRange(1, components.count - 1)]; for (OFString *host in hosts) { |
︙ |
Modified src/OFHostAddressResolver.m from [3e742a19ee] to [1a75dd0a5b].
︙ | |||
287 288 289 290 291 292 293 | 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | - + + | addresses, exception); objc_autoreleasePoolPop(pool); return; } @catch (OFInvalidFormatException *e) { } |
︙ |