Commit 2995f8a7 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.4 (#21135)

parents 10fbf183 4d59a787
......@@ -1045,7 +1045,7 @@ def escape(s, quote=None):
return s
def valid_boundary(s, _vb_pattern=None):
def valid_boundary(s):
import re
if isinstance(s, bytes):
_vb_pattern = b"^[ -~]{0,200}[!-~]$"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment