« Previous Next »

Thread: Conditions bug?

Last post 09-05-2008 5:56 PM by anilr. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-05-2008, 5:44 PM

    • Piotrb
    • Not Ranked
    • Joined on 09-05-2008, 9:39 PM
    • Posts 3

    Conditions bug?

     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

  • 09-05-2008, 5:56 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: Conditions bug?

    search for requestfiltering allowDoubleEscaping

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (2 items)