question

ErikNesse-4680 avatar image
0 Votes"
ErikNesse-4680 asked SaiKishor-MSFT commented

Lowercase incoming urls in Azure CDN Standard rules engine

Is it possible to use the Azure CDN Standard Rules engine, not Verizon, to lowercase all incoming URLs? I had hoped to do something like this (image below), but as far as I can tell the rewrite action doesn't support regex. What are my alternatives, other than upgrading to premium?

CDN rule setup


azure-cdn
cdn.png (25.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered

@ErikNesse-4680 Firstly apologize for the late response.

If you change the condition operator to "Equal" or anything else, then it will give you the option for case transform. Example shown below for "any request url"-

108390-image.png


Please let me know if this works for you. Hope this helps. Thank you!

Let us know if you have any further questions and we will be glad to assist you further. Thank you!

Remember:

Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

Want a reminder to come back and check responses? Here is how to subscribe to a notification.




image.png (39.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ErikNesse-4680 avatar image
0 Votes"
ErikNesse-4680 answered SaiKishor-MSFT commented

Are you sure about that? Isn't 'Case transform' only used to transform the input related to the Operator so you don't have to specifically list all different casings of the 'Request URL' you want to match on? I don't think 'Case transform' actually carries over to the URL rewrite action.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ErikNesse-4680 Apologize, I understand your requirement now. I guess you are referring to this Feedback Request- https://feedback.azure.com/forums/34192--general-feedback/suggestions/41528359-azure-cdn-standard-rules-engine-support-http-varia

This is still not possible using Azure CDN and only possible via Verizon Premium at the moment. Please add to the Feedback Request so it can be considered. Thank you!

0 Votes 0 ·

This url is no longer valid.

0 Votes 0 ·

Hello, our feedback portal has been shifted to this new site- https://feedback.azure.com/d365community/forum/8ae9bf04-8326-ec11-b6e6-000d3a4f0789

0 Votes 0 ·