forked from dongilbert/jstats-server
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Steps to reproduce the issue
Send a post request with invalid / unrealistic data.
curl -X POST -F "unique_id=example5unique7id2425" -F "php_version=7.9" -F "db_type=mysql" -F "db_version=1.0" -F "cms_version=3.9" -F "server_os=something" "http://developer.joomla.org/stats/submit"
Fields that are not validated correctly:
- php_version (all between 5.3.1 and 8.0.0 (except major 6) is allowed).
- cms_version
- db_version
- server_os
Expected result
Some kind of validation/general error. whitelist/blacklist validation.
Actual result
Data is not validated correctly and will be saved.
Additional comments
sorry for some test posts ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels