Ignore:
Timestamp:
05/02/08 09:06:41 (16 years ago)
Author:
Nicholas Riley
Message:

Only scan for closing bracket after opening bracket in IPv6 addresses (duh).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEParser.m

    r473 r474  
    243243    if (ICCF_StringIncludesCharacter(s, closing, range) &&
    244244        ((opening == '[' &&
    245           ICCF_IsLikelyIPv6Address(s, NSMakeRange(range.location,
    246                                                   [s rangeOfString: @"]"].location - range.location)))
     245          ICCF_IsLikelyIPv6Address(s,
     246               NSMakeRange(range.location,
     247                           [s rangeOfString: @"]" options: NSLiteralSearch range: range].location -
     248                           range.location)))
    247249         || !ICCF_IsLikelyURI(s, range))) {
    248250        range.location -= 2;
Note: See TracChangeset for help on using the changeset viewer.