Skip to content

Fatal error due to specific supplied data #381

@nickevansuk

Description

@nickevansuk

The following data crashes the entire app on Heroku

{
  "@type": "ImageObject",
  "url": "https://reachstorageaccount.blob.core.windows.net/images/9142d700-adb7-4f7b-af10-fef045ff11f4/783cbdc4-c0c0-449b-8ce0-1e147337a628/The Regal - Bball Court.jpg"
}

Screenshot 2021-03-15 at 13 54 57

Possibly related to the "an aside" mention in #377 - as currently every string is parsed as a URI Template.

Interestingly validation of this data gets exponentially slower the longer it gets / more domains that are added:

{
  "@type": "ImageObject",
  "url": "https://domain1.domain2.domain3.domain4.net/ "
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions