Commit Graph
5 Commits
Author SHA1 Message Date
Jaap MarcusandBelle Aerni 2ddb7438ee Limit "LIMIT" to numbers only + Disable upload theme (#1392)
* Prevent non numeric values being used in limits

Potential abuse for Sql injection
Only allow integers to be used


Adjust exception

* Disable upload assets via Theme pages

File upload was removed in an earlier PR

* Make sure the test run fine

* Fix the tests

* Use limit instead of per_page

* And another fix

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-06-30 22:51:50 +02:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
evrifaessa db6a1946ce Updated tests. 2022-09-24 20:04:39 +03:00
samapraku 8a1718c606 Upgrade tests to PHPUnit 9 2020-08-18 21:12:03 +02:00
fordnox 5af4cc20d9 Initial release 2014-11-03 09:00:47 +02:00