mercurial/hgweb/wsgiheaders.py
changeset 51859 f4733654f144
parent 48946 642e31cb55f0
child 52639 9db77d46de79
equal deleted inserted replaced
51858:607e94e01851 51859:f4733654f144
     7 written by Barry Warsaw.
     7 written by Barry Warsaw.
     8 """
     8 """
     9 
     9 
    10 # Regular expression that matches `special' characters in parameters, the
    10 # Regular expression that matches `special' characters in parameters, the
    11 # existence of which force quoting of the parameter value.
    11 # existence of which force quoting of the parameter value.
       
    12 from __future__ import annotations
    12 
    13 
    13 import re
    14 import re
    14 
    15 
    15 tspecials = re.compile(br'[ ()<>@,;:\\"/\[\]?=]')
    16 tspecials = re.compile(br'[ ()<>@,;:\\"/\[\]?=]')
    16 
    17