Fix a crash when the search view is getting indexed.
Review Request #13642 — Created March 18, 2024 and submitted
A bad spider is sending some requests to the search view that are
causing error tracebacks. The issue here is that the form isn't valid,
but we were still trying to accesscleaned_data
. This change fixes
that up and tweaks stuff to make linters/static analysis happy.
Ran unit tests.
- Commits:
-
Summary ID c081cf839cd88dd435de50c2c6558b67ca34a768 7ace0642f1f99f65b333063d2f501eed406104f0 - Diff:
-
Revision 2 (+30 -10)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 7ace0642f1f99f65b333063d2f501eed406104f0 604fc379e673347558460f2e03a751b819f483ae - Branch:
-
release-7.xrelease-6.x
- Diff:
-
Revision 3 (+32 -10)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.