]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Avoid error when a bad `order` parameter is given 3841/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 14 Jan 2019 16:01:21 +0000 (17:01 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 14 Jan 2019 16:01:21 +0000 (17:01 +0100)
commit78e3fafa3fab86638295fe1ee2a05a559bf56ab1
tree904be517d033438c36b29d2b5c3227f630455b0a
parenta5e9a98aa3c67ac1ad1aff1a250ef8fdc3c24def
Avoid error when a bad `order` parameter is given

Only allowed parameter are asc & desc
src/Wallabag/ApiBundle/Controller/EntryRestController.php
src/Wallabag/CoreBundle/Repository/EntryRepository.php
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php