mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-08 17:05:17 +02:00
Don't forget to escape also the slash "/"
This commit is contained in:
parent
629ca970a1
commit
2061daa902
@ -53,7 +53,7 @@ EOM
|
||||
EscapeRegexp() {
|
||||
# This way we may safely insert an arbitrary
|
||||
# string in our regular expressions
|
||||
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g"
|
||||
echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g" | sed "s/\\//\\\\\//g"
|
||||
}
|
||||
|
||||
HandleOther(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user