allow https URI scheme in links

This commit is contained in:
David Goodger 2004-07-19 19:02:14 +00:00
parent a0686d62bb
commit 84a666a86d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE!
DTD = ('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"\n'
' "http://www.w3.org/TR/REC-html40/loose.dtd">')
fixpat = re.compile("((http|ftp):[-_a-zA-Z0-9/.+~:?#$=&,]+)|(pep-\d+(.txt)?)|"
fixpat = re.compile("((https?|ftp):[-_a-zA-Z0-9/.+~:?#$=&,]+)|(pep-\d+(.txt)?)|"
"(RFC[- ]?(?P<rfcnum>\d+))|"
"(PEP\s+(?P<pepnum>\d+))|"
".")