For the Transformation upto 4 "/", the following can be applied.
URLTransformationRules = {
/\?/ : {
/(.*)/ : "\\1",
},
/\.(gif|GIF|Gif|jpg|jpeg|JPG|JPEG|Jpg|Jpeg|png|PNG|Png|css|CSS|Css|js|JS|Js|ico|ICO|Ico)$/ : {
/(.*)/ : "\\1",
},
/^\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+/ : {
/^\/([^\/]+)\/([^\/]+)\/([^\/]+)\/.*/ : "/\\1/\\2/\\3/*",
},
/^\/[^\/]+\/[^\/]+\/[^\/]+$/ : {
/^\/([^\/]+)\/([^\/]+)\/.*/ : "/\\1/\\2/*",
},
/^\/[^\/]+\/[^\/]+$/ : {
/^\/([^\/]+)\/.*/ : "/\\1/*",
},
/^\/[^\/]+$/ : {
/^\/[^\/]*$/ : "/*",
},
};
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center