dcrdata icon indicating copy to clipboard operation
dcrdata copied to clipboard

api invalid address checks

Open raedah opened this issue 5 years ago • 1 comments
trafficstars

https://explorer.dcrdata.org/api/address/sdfdsfdsfdsdjflkjsjkfjlkdsjflksdjflkjdsf/count/5/raw

too many address

https://explorer.dcrdata.org/api/address/sdfdsfdsfdsdjflkjsjkfjlkdsjflkjdsf/count/5/raw

invalid address

Address validity checks only seem to take account of the string length. Passing an address that is invalid but is a long string will result in an incorrect error msg, 'too many address'.

raedah avatar Aug 31 '20 02:08 raedah

https://explorer.dcrdata.org/api/address/sdfdsfdsfdsdjflkjsjkfjlkdsjflksdjflkjdsf/count/5/raw

too many address

This now returns Unprocessable entity. This new response closes this issue?

ukane-philemon avatar Jan 28 '22 17:01 ukane-philemon