fix insert
This commit is contained in:
parent
ef77abb71a
commit
cf9257872b
2
note
2
note
@ -114,7 +114,7 @@ fi
|
||||
check_sneaky_paths() {
|
||||
local path
|
||||
for path in "$@"; do
|
||||
[[ $path =~ /\.\.$ || $path =~ ^\.\./ || $path =~ /\.\./ || $path =~ ^\.\.$ ]] && die "Error: You've attempted to pass a sneaky path to pass. Go home."
|
||||
[[ $path =~ /\.\.$ || $path =~ ^\.\./ || $path =~ /\.\./ || $path =~ ^\.\.$ ]] && die "Error: You've attempted to note a sneaky path to note. Go home."
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user