(0 条评论) (0 个反应) (0 位负责人)JavaScript (4 个派生)auto 404
OSSbuggood first issue

仓库指标

星标
 (3 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南