We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f226c7f commit 568c7a8Copy full SHA for 568c7a8
manifests/db.pp
@@ -78,7 +78,7 @@
78
# Ensure that the sql files passed are valid file paths.
79
if $sql {
80
$sql.each | $sqlfile | {
81
- if $sqlfile !~ /^\/(?:.[.A-Za-z0-9_-]+\/?+)+(?:\.[.A-Za-z0-9]+)+$/ {
+ if $sqlfile !~ /^\/(?:.[.A-Za-z0-9_\-\?*]+\/?+)+(?:\.[.A-Za-z0-9]+)+$/ {
82
$message = "The file '${sqlfile}' is invalid. A valid file path is expected."
83
fail($message)
84
}
0 commit comments