Commit 89af7320 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

removed colon from path validation

parent 0d0d8b22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ const validateInt = (val) => {

const validatePath = (val) => {
  /*eslint-disable */
  if (val.match(/^.*?(?=[\^#%&$\*:<>\?\{\|\} ]).*$/)) {
  if (val.match(/^.*?(?=[\^#%&$\*<>\?\{\|\} ]).*$/)) {
  /*eslint-enable */
    return 'Invalid characters';
  }