mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
Fix mime.types parsing for nginx
Added characters to key parsing rule which appear in the mime type in mime.types.
This commit is contained in:
parent
c799a2d57e
commit
762e9e9db0
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class RawNginxParser(object):
|
|||
right_bracket = Literal("}").suppress()
|
||||
semicolon = Literal(";").suppress()
|
||||
space = White().suppress()
|
||||
key = Word(alphanums + "_/")
|
||||
key = Word(alphanums + "_/+-.")
|
||||
# Matches anything that is not a special character AND any chars in single
|
||||
# or double quotes
|
||||
value = Regex(r"((\".*\")?(\'.*\')?[^\{\};,]?)+")
|
||||
|
|
|
|||
Loading…
Reference in a new issue