(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

貢獻者指南