AnsweredAssumed Answered

WAS and Regex

Question asked by Cyrille Brahamcha Employee on Aug 25, 2016
Latest reply on Aug 30, 2016 by Cyrille Brahamcha

Hi folk,

 

I’m working with WAS and I’m using Regex, by automatically creating regex from the sitemap for white or blacklisting some URL and subdirectories.

 

On the sitemap, if I click on whitelist a directory named http://www.monsite.fr/hello , WAS writes automatically this regex : http://www.monsite.fr/hello* on the whitelist of my WebApp.

 

From the Qualys regex help (and as PCRE format says), * is « 0 or more times », . is « all character », and \/ is for backslash :

-> So, why the regex isn’t  http:\/\/www.monsite.fr\/hello.*  ?

-> Does my regex matchs when all characters of my URL are matching, or if at least one thing matches ?

 

Tanks in advance for your help

 

Best regards,

 

Cyrille

Outcomes