[1.11.x] Fixed django/utils/http.py comment typo.
Backport of d29fd3f9a6
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.
|
input won't fit into an int.
|
||||||
"""
|
"""
|
||||||
# To prevent overconsumption of server resources, reject any
|
# 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)
|
# is sufficient to base36-encode any 64-bit integer)
|
||||||
if len(s) > 13:
|
if len(s) > 13:
|
||||||
raise ValueError("Base36 input too large")
|
raise ValueError("Base36 input too large")
|
||||||
|
|
Loading…
Reference in New Issue