Jump to content
Welcome to our new Citrix community!

URL transform module - matching a URL case insensitiviely


Recommended Posts

Are you talking about the match to trigger the policy?

In that case you need to add  .SET_TEXT_MODE(IGNORECASE) to the policy expression, like

HTTP.REQ.HOSTNAME.SET_TEXT_MODE(IGNORECASE).EQ("www.example.com")

 

Or are you talking about the actual Transformation Profile?
In that case I would use regex filter groups.

 

If you put a "RequestUrlFrom" like this:

https://(.*)/api/v1/(.*)

 

You can reference both groups with a progressive ID

https://$1/api/v2/$2 

 

This will match any FQDN with the 1st (.*) and any path with the 2nd (.*)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...