- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Introducing Check Point Quantum Spark 2500:
Smarter Security, Faster Connectivity, and Simpler MSP Management!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
Hello everyone,
We have a website control requirement as follows:
https://www.example.com (Permit)
https://www.example.com/forum/popular/buzz?tab=popular(Block)
I plan to control it through HTTPS Inspection + URLF.
So I wrote a Regular Expression as follows:
\.example\.com\/forum\/popular\/buzz?tab=popular
But the result is a failure. Please tell me how to modify it.
Thanks
Try this:
\.example\.com\/forum\/popular\/buzz\?tab\=popular
"=" is significant to regular expression matching for assignment and needs to be quoted. "?" is significant as well and although you don't strictly need to quote it with a "\" to make it work, doing so may improve performance slightly. If it still doesn't match try toggling the checkbox "URL is a regular expression" on the custom site/app object.
Edit: clarified what ? matches based on Bob's post
Hey @GigaYang
I would make sure rule to block comes first, or if you are allowed, send me actual sites directly and Im happy to test in the lab.
Andy
So you want to do below?
block -> https://www.cmoney.tw/forum/popular/buzz?tab=popular
allow -> https://www.cmoney.tw
Right?
Andy
Hi Rock,
Yes, we need it.
Will test it shortly and let you know.
Andy
Hm, cant seem to block it, though I even made sure its not bypassed in inspection policy. Let me keep trying/
Andy
I have a feeling it could be something with that site, cause every single time, no matter what "flavors" I try, it shows bypassed in https inspection, but so many different countries...Korea, Taiwan, USA...AND, on top of that, always different categories too. Though I blocked in in url layer and also inspected in https inspection policy.
Andy
Assuming my alternate regex does not work and it always seems to Bypass anyway, I suppose it is possible that this server falls into the implied HTTPS Inspection exceptions. Try disabling it but be warned this will break a lot of stuff in a production environment:
https://support.checkpoint.com/results/sk/sk98655
Also I assume you are not using the Check Point-provided bypass object in your HTTPS Inspection policy, it could be in there too:
https://support.checkpoint.com/results/sk/sk163595
Sometimes if you use regular expression it can impact gateway performance.
Make sure when you are done with the changes and pushed them to the firewall, to run a HCP health check.
Any incorrect configured expressions that could cause high load are listed in this report.
Hi Lesley,
Thank you for your reminder.
Try this:
\.example\.com\/forum\/popular\/buzz\?tab\=popular
"=" is significant to regular expression matching for assignment and needs to be quoted. "?" is significant as well and although you don't strictly need to quote it with a "\" to make it work, doing so may improve performance slightly. If it still doesn't match try toggling the checkbox "URL is a regular expression" on the custom site/app object.
Edit: clarified what ? matches based on Bob's post
Just tried that too in the lab as regular expression as well, no joy...
Hi Rock,
Thanks for your kindly help.
No worries, happy it worked for you! Maybe I did the wrong syntax in the lab.
Andy
Would you mind sharing exact syntax you used? I would like to test it in the lab...not having much luck with ones Im trying.
Andy
Never mind @GigaYang , I got it. It was being bypassed on financial services, as soon as I removed that, it was blocked. I just used below:
\.cmoney\.tw\/forum\/popular\/buzz\?tab\=popular
Cheers,
Andy
I have try that. It can block the URL. 😀
? in a regular expression should match the previous element (typically a character, but can be a character class or a group) 0 or 1 times. For example, "https?" would match http or https. If you want to match a literal question mark in the input, you definitely need to escape the question mark in the expression (or put it in a character class, or replace it with a dot).
Got it, thanks for the clarification!
If page is blocked, you would not see the actual cmoney cert presented. I will send you some screenshots later from my lab.
Andy
Hi Rock,
I I noticed that HTTPS Inspection only changes some of the website credentials information seen by the user's browser. The issuer will be modified to be consistent with the HTTPS Inspection certificate, and the issuance expiration date will still be the information of the original real certificate.
@GigaYang See if below post I made helps.
Andy
https://community.checkpoint.com/t5/Security-Gateways/Https-inspection-lab-guide/m-p/214429#M40929
It is great. Thanks for your help. 😀
I will send you some screenshots from my lab as well.
Andy
I'm also encountering this issue right now. I tried a similar approach using HTTPS Inspection + URLF but couldn't get the regular expression to work as expected.
Did you find a working solution, or is there a specific syntax adjustment needed for this case?
Example?
I'm also encountering this issue right now. I tried a similar approach using HTTPS Inspection + URLF but couldn't get the regular expression to work as expected. It reminds me of troubleshooting regular expressions in CapCut's video editing features—sometimes a small syntax issue can prevent effects or transitions from applying correctly. If you're looking for a more optimized editing experience on CapCut for pc, you could check out CapProCut APK. Did you find a working solution, or is there a specific syntax adjustment needed for this case?
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
10 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
Wed 03 Sep 2025 @ 11:00 AM (SGT)
Deep Dive APAC: Troubleshooting 101 for Quantum Security GatewaysThu 04 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: External Risk Management for DummiesWed 10 Sep 2025 @ 11:00 AM (CEST)
Effortless Web Application & API Security with AI-Powered WAF, an intro to CloudGuard WAFWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksWed 03 Sep 2025 @ 11:00 AM (SGT)
Deep Dive APAC: Troubleshooting 101 for Quantum Security GatewaysThu 04 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: External Risk Management for DummiesWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY