2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Security fix (#9727)

* Add max limit for 'skip' parameter
This commit is contained in:
Oliver
2025-06-02 22:43:48 +10:00
committed by GitHub
parent 314b161076
commit 2a7f5f94c8

View File

@ -34,6 +34,7 @@ class LabelPrintingOptionsSerializer(serializers.Serializer):
label=_('Skip Labels'),
help_text=_('Skip this number of labels when printing label sheets'),
min_value=0,
max_value=500,
)
border = serializers.BooleanField(