Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Sling Mapping to be case insensitive

$
0
0

Hi,

 

We have a requirement where we will insert the maping for say sling:match= /testmapping$ and sling:redirect=/content/site1/page1.html.

 

Now we want a sling:match should be case insensitive, means if incoming request is http://<host>:<port>/testmapping.html it will redirect to http://<host>:<port>/content/site1/page1.html but it should also redirect if incoming request is http://<host>:<port>/TestMapping.html  even though the sling:match I have confgured only for /testmapping$

 

Is there any way for this so that user dont have to put all combination of uppercase/lowercase and only one can handle any request either coming for uppercase or lowercase?

 

Thanks

Sameer


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>