mirror of https://github.com/django/django.git
Fixed django/utils/http.py comment typo.
This commit is contained in:
parent
9d27478958
commit
d29fd3f9a6
|
@ -185,7 +185,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…
Reference in New Issue