Commit 2855043f authored by Eben Blaisdell's avatar Eben Blaisdell

safe strats

parent 41037d7b
......@@ -290,7 +290,7 @@ function ipAddresses(){
}
function checkFileSafe(filename){
filename == "" || filename.indexOf("..") != -1 || filename.indexOf("~") != -1 || filename.indexOf("/") != -1;
filename == "" || filename.indexOf(".") != -1 || filename.indexOf("~") != -1 || filename.indexOf("/") != -1;
}
function findWithAttr(array, attr, value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment