(0 comments) (0 reactions) (0 assignees)JavaScript (4 forks)auto 404
OSSbuggood first issue

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

A /query body that causes a hard crash. Can we handle this situation better? I did not look into it, just noting it.

{
   "@type":"sc:AnnotationList",
   "on":{
      "$or":[
         {
            "on":"https://iiif.library.utoronto.ca/presentation/v2/paleography:419"
         },
         {
            "on":"https://paleography.library.utoronto.ca/islandora/object/paleography:419"
         }
      ]
   },
   "isPartOf":"2888",
   "__rerum.history.next":{
      "$exists":true,
      "$size":0
   }
}

Yes, I know. That is now how you use $or. Still, this caused a hard 500 that did not return anything RESTful

Contributor guide