This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new bc46b451 OF - typo seem by ASVS
bc46b451 is described below
commit bc46b451a0dcea274730c40eaf57315a9f66e4ad
Author: Dave Fisher <[email protected]>
AuthorDate: Sat Mar 21 13:33:19 2026 -0700
OF - typo seem by ASVS
---
atr/api/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/api/__init__.py b/atr/api/__init__.py
index 71a91c6d..0c348c6e 100644
--- a/atr/api/__init__.py
+++ b/atr/api/__init__.py
@@ -1699,7 +1699,7 @@ def _pagination_args_validate(query_args: Any) -> None:
raise exceptions.BadRequest("Minimum limit less than 1 is
nonsense")
# Users could request any amount using offset=N with arbitrarily high N
# We therefore limit the maximum offset to 1000000
- if hasattr(query_args, "offest"):
+ if hasattr(query_args, "offset"):
offset = query_args.offset
if offset > 1000000:
raise exceptions.BadRequest("Maximum offset of 1000000 exceeded")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]