hecrus

LOWER CASE URL

Sep 17th, 2021
798
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  <rule name="LowerCaseURL" stopProcessing="true">
  2.             <match url="[A-ZА-Я]" ignoreCase="false" />
  3.             <conditions logicalGrouping="MatchAll">
  4.                         <add input="{HTTP_X_Requested_With}" pattern="^XMLHttpRequest$" negate="true" />
  5.                         <add input="{URL}" pattern="[А-Я]" negate="true" />
  6.             </conditions>
  7.             <action type="Redirect" url="{ToLower:{URL}}" />
  8.         </rule>
RAW Paste Data