oduwsdl / ipwb

InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS
MIT License
606 stars 39 forks source link

TimeGate does not respond correctly to malformed datetimes #579

Closed machawk1 closed 5 years ago

machawk1 commented 5 years ago

Section 4.5.3 of the Memento RFC says

If the value of the "Accept-Datetime" does not conform to the rfc1123-date construction rule of the BNF in Figure 1, the response MUST have a "400 Bad Request" HTTP status code.

This is not exhibited in the ipwb replay system.

This issue was discovered using the Deployed ipwb instance and the Memento Validator Service with https://ipwb.ws-dl.cs.odu.edu/timegate/memento.us as the URI and TimeGate as the Type.

machawk1 commented 5 years ago

Closed in #580