Menu

#9 setup_node.bash: Hyphens need escape

v1.0_(example)
open
nobody
None
1
2015-03-19
2015-03-19
No

In "setup_node.bash", the hyphen "-" in AllowedChars and Alloweddns (Line 37 & 39) need to be escaped - at least on my system: Debian wheezy, german locale settings:

declare -r AllowedChars="1234567890/., :\-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
declare -r AllowedNumbers="1234567890/.:"
declare -r Alloweddns="1234567890/.:\-abcdefghijklmnopqrstuvwxyz"

I also attached a patch for this..

Cheers,
stimpy

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB