Bug #2511
escaped '+' in query string (%2B) generating ServiceFailure for getLogRecords
100%
Description
calls to getLogRecords on gmn-dev that have an escaped '+' in the fromDate (and probably toDate) are throwing ServiceFailures.
Impact is that calls to getLogRecords from the CNs will get the entire log every time, instead of the latest slice.
compare:
https://gmn-dev.test.dataone.org/mn/v1/log?fromDate=2012-02-20T21:18:46%2B00:00
https://gmn-dev.test.dataone.org/mn/v1/log?fromDate=2012-02-20T21:18:46+00:00
however:
a generally-bad date throws the proper InvalidRequest
https://gmn-dev.test.dataone.org/mn/v1/log?fromDate=foooooooo2012-03-15T20:12:54+00:00
and 'fromDate' in listObjects is completely ignored, no matter what's in fromDate. The following all return an ObjectList:
https://gmn-dev.test.dataone.org/mn/v1/object
https://gmn-dev.test.dataone.org/mn/v1/object?fromDate=2012-03-12T20:12:54.084+00:00
https://gmn-dev.test.dataone.org/mn/v1/object?fromDate=2012-03-12T20:12:54.084%2B00:00
https://gmn-dev.test.dataone.org/mn/v1/object?fromDate=foooooooo2012-03-12T20:12:54.084+00:00
see #2460
(dataone escapes '+' to avoid overloaded semantics where some url encoders escape space to '+')
History
#1 Updated by Roger Dahl over 12 years ago
- Status changed from New to Closed