stretchr / sdk-js

HTML5 and JavaScript SDK for Stretchr
http://docs.stretchr.com/sdks/javascript.md
3 stars 0 forks source link

Disclose more better on incomplete URI #33

Open netaisllc opened 10 years ago

netaisllc commented 10 years ago

In a project with one resource already added, I intentionally malformed a GET URI as follows:

curl -X GET https://netaisllc.stretchr.com/api/v1.1/factory?key=caff931abfe3fbf1ba3600f9140b883b

IMHO, you could do better than this as a response:

"Fatal error. Please report this to support@stretchr.com along with the following data: Zmxvdy5IYW5kbGVyRnVuYzogSW52YWxpZCBucyBbbmV0YWlzbGxjOmZhY3RvcnkuXQ=="

Consider telling us: