/fortinet/
fortinet
/fortinet\.com\/blub/
|fortinet\.com/blub|
fortinet\.com/blub
@CustomerService
- '/i' symbols means: makes the pattern case sensitive.
- For example: '/FORTINET/i' will not match with 'fortinet'.
In PCRE /i means make the match case-insensitive. So, the correct formulation would be:
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello jammac,
Thank you for using the Community Forum.
I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Regards,
Hello jammac,
Could you please have a look into these KB articles:
Please, do not hesitate to indicate if it helped or not.
Regards,
The linked document is 100% correct and accurate for Fortigate configurations. Fortinet is not producing documentation for general regex syntax. They are using their own. This makes sense as by default they want URL filters to be case insensitive (opposite behaviour to Linux systems).
You only need to include the delimiters if you are adding modifiers like /i, etc.
So you can have URL filter regex that looks like "domainNAME\.com\/path" and this will match regex as per the linked document.
You can also have a filter like "/domainNAME\.com\/path/i" to make it case sensitive. (Opposite behaviour to linux).
Escapes are needed as per regex syntax. So if you want "." to be literal please escape it.
Beware that the regexp parser in fortios seems to be partly buggy. I once had a case where I had a regexp in url filter of which even TAC stated it is correct but it still didn't work in url filter.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
That is what I'd call a bug and not let them off the leash :beaming_face_with_smiling_eyes:
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1517 | |
1013 | |
749 | |
443 | |
209 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.