Skip to content

Commit

Permalink
validation: Use $' for __GO_VALIDATE_INPUT_PATTERN
Browse files Browse the repository at this point in the history
Part of #69.
  • Loading branch information
mbland committed Jan 2, 2017
1 parent bc45bd3 commit c95d3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validation
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Ensures input parameters do not contain control or metacharacters

# Pattern used to validate file path and variable name parameters
readonly __GO_VALIDATE_INPUT_PATTERN='[^\][`";$()&|<>'$'\n\r'']'
readonly __GO_VALIDATE_INPUT_PATTERN=$'[^\][`";$()&|<>\n\r]'

# Ensures input parameters do not contain control or metacharacters
#
Expand Down

0 comments on commit c95d3bc

Please sign in to comment.