❔ Is this Redirect rule correct ?

Am I correct in thinking that this redirect rule will not match anything ? Because there is no string between the ^$

Please let me know if my assumption is right or if I'm missing something here ?

<rule name="Root Hit Force HTTPS Redirection" enabled="true" stopProcessing="true">
          <match url="^$" ignoreCase="false" />
          <conditions>
            <add input="{HTTPS}" pattern="^OFF$" />
            <add input="{HTTP_METHOD}" pattern="GET" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}/" redirectType="Permanent" />
        </rule>
Was this page helpful?