mirror of
https://github.com/django/django.git
synced 2025-03-25 08:40:45 +00:00
[1.11.x] Fixed django/utils/http.py comment typo.
Backport of d29fd3f9a63f1e515fa8ed863b08a5389938b05f from master
This commit is contained in:
parent
518693bef5
commit
c96d1c7476
@ -187,7 +187,7 @@ def base36_to_int(s):
|
||||
input won't fit into an int.
|
||||
"""
|
||||
# To prevent overconsumption of server resources, reject any
|
||||
# base36 string that is long than 13 base36 digits (13 digits
|
||||
# base36 string that is longer than 13 base36 digits (13 digits
|
||||
# is sufficient to base36-encode any 64-bit integer)
|
||||
if len(s) > 13:
|
||||
raise ValueError("Base36 input too large")
|
||||
|
Loading…
x
Reference in New Issue
Block a user