Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
figge
New Contributor

URL filter regexp

Have the way the Fortigate interprets regular expressions changed between FortiOS release 5.4 an 5.6 ???   \.ru\b  worked in 5.4 to match all domains under the top-domain .ru, it does not work in 5.6.4   if I add \.ru\b  in the Static URL filter via GUI the regexp as show in the CLI is \\.ru\\b and it does not match
1 Solution
baggins
New Contributor III

right..

 

Just checked with wildcard option and *.ru/ and it works.

I'm on 6.0.3..

Site that you mentioned works "www.rum.se" and went trough list here on few and all blocked.

try..

View solution in original post

12 REPLIES 12
figge
New Contributor

As I wrote earlier:

I have two fortigate, one running 5.4.8 and one running 5.6.4. In the first one (FortiOS 5.4.8) regexp works as intended.  In the second one (FortiOS 5.6.4) regexp does not match

 

The interesting thing is that the same regexp gives a different results in the two units

even though it is applied in identical policys.

baggins
New Contributor III

yap...

 

I guess they "upgraded" the syntax.. :)

Let me know if you get anything from the TAC

figge
New Contributor

Apparently there is a bug in parsing certain regexps, learned about this in the response to my TAC-case.

Labels
Top Kudoed Authors