Custom URL Category Path Matching Behavior (Prefix vs Exact Match)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom URL Category Path Matching Behavior (Prefix vs Exact Match)

L3 Networker

Attention: Global TPM team

When aaa.bbb.com/ddd is added to a Custom URL Category,

will aaa.bbb.com/dddxxx also be allowed as a prefix match?

Or is aaa.bbb.com/ddd treated as a specific web page and therefore matched by exact match only?

Best Regards,

1 accepted solution

Accepted Solutions

L4 Transporter

Hello @T.Shimada291937 ,

 

As per https://docs.paloaltonetworks.com/advanced-url-filtering/administration/configuring-url-filtering/ur... , I would assume it is exact match.

Olivier

NGFW Engineer - NetSec Analyst - NetSec Architect - CISSP

Best Effort contributor

Check out our PANCast Channel

Disclaimer : All messages are my personal ones and do not represent my company's view in any way.

View solution in original post

2 REPLIES 2

L2 Linker

The URL aaa.bbb.com/ddd is treated as an exact match in a Custom URL Category and does not automatically match prefixes such as aaa.bbb.com/dddxxx.


Explanation

In Palo Alto Custom URL Categories, URL entries are matched based on how they are defined:

• When you configure aaa.bbb.com/ddd, it is treated as a specific path.
• It will match only that exact URL (or very close variants depending on normalization), but not arbitrary prefixes like dddxxx.


How to Allow Subpaths / Prefix Matching

If you want to allow all subdirectories or variations under that path, you should use a wildcard:

Example:

aaa.bbb.com/*

This will match:

aaa.bbb.com/ddd
aaa.bbb.com/dddxxx
aaa.bbb.com/anything


Best Practice

• Use specific paths when you want tight control
• Use wildcards (*) when you want broader matching


Summary

aaa.bbb.com/ddd is treated as a specific match, not a prefix. To allow subpaths or variations, you should use a wildcard such as aaa.bbb.com/*.

L4 Transporter

Hello @T.Shimada291937 ,

 

As per https://docs.paloaltonetworks.com/advanced-url-filtering/administration/configuring-url-filtering/ur... , I would assume it is exact match.

Olivier

NGFW Engineer - NetSec Analyst - NetSec Architect - CISSP

Best Effort contributor

Check out our PANCast Channel

Disclaimer : All messages are my personal ones and do not represent my company's view in any way.

  • 1 accepted solution
  • 770 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!