mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +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.
|
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…
x
Reference in New Issue
Block a user