1 Reply Latest reply on May 6, 2013 7:18 AM by vijayanandvinju

    Sling Mapping to be case insensitive

    sameer2013

      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