Skip to content

Commit

Permalink
Merge pull request #1754 from seaniedan/filenameValidRegExp
Browse files Browse the repository at this point in the history
Update main.js
  • Loading branch information
ccrisan authored May 16, 2020
2 parents 69334ae + 9c2da1c commit dce1395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motioneye/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var passwordHash = '';
var basePath = null;
var signatureRegExp = new RegExp('[^A-Za-z0-9/?_.=&{}\\[\\]":, -]', 'g');
var deviceNameValidRegExp = new RegExp('^[A-Za-z0-9\-\_\+\ ]+$');
var filenameValidRegExp = new RegExp('^([A-Za-z0-9 \(\)/._-]|%[YmdHMSqv])+$');
var filenameValidRegExp = new RegExp('^([A-Za-z0-9 \(\)/._-]|%[CYmdHMSqv])+$');
var dirnameValidRegExp = new RegExp('^[A-Za-z0-9 \(\)/._-]+$');
var emailValidRegExp = new RegExp('^[A-Za-z0-9 _+.@^~<>,-]+$');
var initialConfigFetched = false; /* used to workaround browser extensions that trigger stupid change events */
Expand Down

0 comments on commit dce1395

Please sign in to comment.