mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
Don't unquote the results of the parse
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user