Last active
April 15, 2016 03:49
-
-
Save tdavisjr/5cd44c653b46220d8a8a2eb11d56dae1 to your computer and use it in GitHub Desktop.
IIS Outbound Url Rewrite to strip HTML tags of http and make it protocol relative
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- outbound rules to modify HTML --> | |
<outboundRules> | |
<rule name="Remove protocol under HTTPS" enabled="true"> | |
<match filterByTags="A, Img, Link" pattern="http://(.*)" /> | |
<action type="Rewrite" value="//{R:1}" /> | |
</rule> | |
</outboundRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment