Matching UTF8 URLs


#1

Hi all,

I need to match URLs that contain non latin symbols in my custom vcl configuration.
URLs can have letters with accents, Cyrillic, Chinese symbols.

Inside my apache rewrite rules URL like 航班 is written as \xed\x95\xad\xea\xb3\xb5\xea\xb6\x8c
How these type of URLs can be matched in VCL?

thanks
Jonas


#2

You can use percent encoding in regular strings, so it would be something like %ed%95%ad%ea%b3%b5%ea%b6%8c for the example from your Apache config you gave.