[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.06-19-g98d895e53d
Git repo owner
gitmaster at git.koha-community.org
Fri Jun 12 02:54:41 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 19.11.x has been updated
via 98d895e53d8315a2e921ceb51b43ac42a58c8d51 (commit)
from 04fc143d25f743b9d58c6fd1f28ba1d9cd0216cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 98d895e53d8315a2e921ceb51b43ac42a58c8d51
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed May 20 19:04:24 2020 -0300
Bug 24229: Avoid fetching ALL items in test
I'm not sure what we need to test here, besides we get results. I'm
pretty sure we shouldn't allow a plain GET return all objects because it
could cause a DOS very easily. But it certainly belongs to a separate
bug/discussion.
In this case, I put a constraint on the items domain (by using
_per_page=10 in the query params) so it won't happen that under certain
conditions the user agent used by Test::Mojo time outs.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 85ab68c07f9240eba08d74b232be8434e65e9afb)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
-----------------------------------------------------------------------
Summary of changes:
t/db_dependent/api/v1/items.t | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list