fix: security warnings related to information exposure and regex validations (#3325)
This commit is contained in:
parent
68d370fd86
commit
43b503c756
5 changed files with 13 additions and 17 deletions
|
|
@ -188,7 +188,7 @@ class BasePaginator:
|
|||
try:
|
||||
cursor_result = paginator.get_result(limit=per_page, cursor=input_cursor)
|
||||
except BadPaginationError as e:
|
||||
raise ParseError(detail=str(e))
|
||||
raise ParseError(detail="Error in parsing")
|
||||
|
||||
# Serialize result according to the on_result function
|
||||
if on_results:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue