2 Replies Latest reply on Apr 1, 2016 6:07 AM by Mallikarjuna Reddy Nune

    On deployment Regex is automatically modified

    Mallikarjuna Reddy Nune Newbie

      Hi ,

       

      we have a regex in web.xml in war, after deployment regex pattern is modified.

       

      Original Regex in web.xml is : (.*\.|^|.*|\[('|"))(c|C)lass(\.|('|")]|\[).*

       

      After deployment Regex looks like : (.*.|^|.*|[('|"))(c|C)lass(.|('|")]|[).*

       

      all backslashes are gone . Tried //// , ? etc still facing the issue.

       

      Because of this modification regex pattern mathcing errors we are facing.

       

       

      Any inputs will be very helpful.

       

      Regards,

      Mallikarjuna