peony2012 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Invalid Type Accepted #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Team,

When we call Conf.isOk() method for a urlrewrite rules as given below, though 
the type attribute is invalid, it is getting accepted-

      <rule >
        <from casesensitive="false" >/category/brands  /how™+by+tabatha+coffey.do</from>
        <to  type="redirect/forward">/category/apparel.do</to>
       </rule>

Expected behavior is to invalidate the rule when type is other than the 
redirect or forward.

We are using 4.0.4 version of API.

Please look into it.

Thanks,
Kranti

Original issue reported on code.google.com by kranti.p...@gmail.com on 16 Sep 2014 at 12:13