Conditions bug?RSS

1 reply

Last post Sep 05, 2008 05:56 PM by anilr

  • Conditions bug?

    Sep 05, 2008 05:44 PM|Piotrb|LINK

     Hi,

    This is the rule that doesn´t really work:

     

    <rule name="rule1" patternSyntax="Wildcard">
                        <match url="*" negate="false" ignoreCase="true" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/index.php/{R:1}" />
                    </rule>

     

    The problem is, that when I try to enter the following url:

    /index/index/category/Food+%26+Drink

    I get a 404 error, but it should have rewritten the url to index.php. Am I doing something wrong, or is this a bug?

     

    Piotr

  • Re: Conditions bug?

    Sep 05, 2008 05:56 PM|anilr|LINK

    search for requestfiltering allowDoubleEscaping

    Anil Ruia
    Software Design Engineer
    IIS Core Server