https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41926
Bug ID: 41926
Summary: Disable OPAC search form after first submitting it, as
a counter measure to spam
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
We occasionally notice the same search query being placed multiple times in
rapid succession. While we do ratelimiting that eventually blocks the spam
(whether intentional or not), the first counter measure should be to disable
the form submit by JavaScript.
I propose once the search form is first submitted, we send the query and then
disable the submit function. If patron then re-submits the form before search
results are loaded, the browser will not send another query to Koha.
Now if anything changes within the form before the results are loaded, we
re-enable the submit so that if they are quick enough, they could still modify
their query before the results.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/