This commit is contained in:
Squidly271
2020-09-26 12:06:22 -04:00
committed by GitHub
parent faee102808
commit 739565cb4c
+1 -1
View File
@@ -278,7 +278,7 @@ function prepareEdit(form) {
swal({title:"_(Invalid share name)_",text:"_(Do not use pool names)_",type:'error',html:true,confirmButtonText:"_(Ok)_"});
return false;
}
if (share.match('[:\\\/*<>|"]?')) {
if (share.match('[:\\\/*<>|"?]')) {
swal({title:"_(Invalid Characters)_",text:"_(You cannot use the following within share names)_"+' : \\ / * < > | " ?',type:'error',html:true,confirmButtonText:"_(Ok)_"});
return false;
}