mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
fix for apache_conf to handle quoted Includes (#3193)
Signed-off-by: Stanislav Voroniy <stas@voroniy.com>
This commit is contained in:
parent
d0e2608ec3
commit
4112085ff7
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module Inspec::Resources
|
|||
# The regex is terminated by an expression that matches zero or more spaces.
|
||||
params = SimpleConfig.new(
|
||||
raw_conf,
|
||||
assignment_regex: /^\s*(\S+)\s+((?=.*\s+$).*?|.*)\s*$/,
|
||||
assignment_regex: /^\s*(\S+)\s+['"]*((?=.*\s+$).*?|.*?)['"]*\s*$/,
|
||||
multiple_values: true,
|
||||
).params
|
||||
|
||||
|
|
Loading…
Reference in a new issue