Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1246

Regexp metadata validator produces an error when the expression contains a slash

      When a content type defines a metadata with a validator which contains a slash, editing a content will throw the error "SyntaxError : syntax error" and prevent the form to be correctly edited.

          [CMS-1246] Regexp metadata validator produces an error when the expression contains a slash

          I had ran into that bug trying to validate a website URL, the validator was :

          https?://.*

          Nicolas Gavalda (Inactive) added a comment - I had ran into that bug trying to validate a website URL, the validator was : https?: //.*

          Sample of validator with a slash ?

          Laurence Aumeunier added a comment - Sample of validator with a slash ?

            laurence Laurence Aumeunier
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: