Skip to content

false positive on case folding match #55

@anewton1998

Description

@anewton1998

The response matching algorithm for matching a response to a case-folded response does not appear to be taking into account certain behaviors that are RDAP legal. Without digging into the code, it looks like it could be caused by such things as:

{
  "title" : "REDACTED FOR PRIVACY",
  "type" : "object redacted due to authorization"
}

vs

{
  "type" : "object redacted due to authorization",
  "title" : "REDACTED FOR PRIVACY"
}

or it may be caused by the "self" link where the href and/or value may differ from the non case-folded version:

"links" : [
  {
    "href" : "https://rdap.nicenic.net/domain/oRbOpT.OrG",
    "rel" : "self",
    "type" : "application/rdap+json",
    "value" : "https://rdap.nicenic.net/domain/oRbOpT.OrG",
    "title" : "Authoritative URL for this resource"
  }
],

vs

"links" : [
  {
    "href" : "https://rdap.nicenic.net/domain/orbopt.org",
    "rel" : "self",
    "type" : "application/rdap+json",
    "value" : "https://rdap.nicenic.net/domain/orbopt.org",
    "title" : "Authoritative URL for this resource"
  }
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions