mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Don't unquote the results of the parse
This commit is contained in:
parent
5758b1687d
commit
e715b49dd2
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ class RawNginxParser(object):
|
|||
# any chars in single or double quotes
|
||||
# All of these COULD be upgraded to something like
|
||||
# https://stackoverflow.com/a/16130746
|
||||
dquoted = QuotedString('"', multiline=True)
|
||||
squoted = QuotedString("'", multiline=True)
|
||||
dquoted = QuotedString('"', multiline=True, unquoteResults=False)
|
||||
squoted = QuotedString("'", multiline=True, unquoteResults=False)
|
||||
nonspecial = Regex(r"[^\{\};,]")
|
||||
varsub = Regex(r"(\$\{\w+\})")
|
||||
# nonspecial nibbles one character at a time, but the other objects take
|
||||
|
|
|
|||
Loading…
Reference in a new issue