Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
5.5.0
-
Untriaged
-
No
Description
Arunkumars-macbook-pro:~ a.senthilnathan$ curl -X POST -u Administrator:password -d 'queryTmpSpaceDir=/tmp' -d 'queryTmpSpaceSize=-1' http://172.23.107.165:8091/settings/querySettings
{"queryTmpSpaceDir":"/tmp","queryTmpSpaceSize":-1,"queryCurlWhitelist":{"all_access":false,"allowed_urls":[""],"disallowed_urls":[""]}}
Arunkumars-macbook-pro:~ a.senthilnathan$ curl -X POST -u Administrator:password -d 'queryTmpSpaceDir=/tmp' -d 'queryTmpSpaceSize=10000' http://172.23.107.165:8091/settings/querySettings
{"queryTmpSpaceDir":"/tmp","queryTmpSpaceSize":10000,"queryCurlWhitelist":{"all_access":false,"allowed_urls":[""],"disallowed_urls":[""]}}
the range for queryTmpSpaceSize is 0 - 5121 - it should not accept negative values like -1 and larger values like 10000 - check is missing in both UI and REST API