View Complete Thread
  • AbortRequest Url Rewrite Rule not working

    Apr 25, 2019 02:22 PM|mxmissile|LINK

    Trying to get a simple request blocking rule to work, it just continues on processing as normal, instead of aborting the request.

    <rewrite>
    <rules>
      <rule name="RequestBlockingRule1" patternSyntax="Wildcard" stopProcessing="true">
        <match url="*" />
        <conditions>
            <add input="{REQUEST_URI}" pattern="*umid=*" />
        </conditions>
        <action type="AbortRequest" />
      </rule>
    </rules>
    </rewrite>

    Given this request: 

    www.something.com/app/entity/needs-signature&umid=5c8a0e6d-8475-ff05-9dbb-436a235682c4&auth=blahblah

    Notice the querystring does not start with a ?. Could that be why? 

    http://www.heliosfx.com