Asterisk Wildcard Error

cancel
Showing results for 
Search instead for 
Did you mean: 

Asterisk Wildcard Error

L0 Member

When Creating a Custom URL Category, I am entering a wildcard infront of the url *lans.com.au

 

However when attempting to apply this wildcard, I am getting this error

 

URLBlock -> list '*lans.com.au' is invalid. Consecutive asterisks (*) in a URL wildcard pattern can severely impact performance and is not supported. Instead, use a single asterisk or multiple carets (^) to indicate consecutive tokens. To learn more about wildcard entries, go to: https://www.paloaltonetworks.com/documentation/url-filtering-wildcards. URLBlock -> list is invalid

 

1 ACCEPTED SOLUTION

Accepted Solutions

L4 Transporter

I suspect the error you are seeing is misleading.

 

from the page you linked: "Wildcard characters must be the only character within a token" - "*lans" would be an invalid token

 

Do you mean "*.lans" or maybe more accurately "^.lans"

View solution in original post

2 REPLIES 2

L4 Transporter

I suspect the error you are seeing is misleading.

 

from the page you linked: "Wildcard characters must be the only character within a token" - "*lans" would be an invalid token

 

Do you mean "*.lans" or maybe more accurately "^.lans"

View solution in original post

Cyber Elite
Cyber Elite

Hi @Pooch87

 

As @JoeAndreini already wrote, the asteriks needs to be the only character in a token. Tokens are separated by one of these characters: . / ? & = ; +

So your example would be valid like this: *.lans.com.au

This is probably not what you want to filter on. So you have to create a custom application. This way you are able to use exactly this filter which gives you the mentionned error with the url filtering feature.

 

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!