Created
February 11, 2026 20:15
-
-
Save trycf/73f141384222bfc2cea2d8d7f382d87c to your computer and use it in GitHub Desktop.
TryCF Gist
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
| <cfset local.header = "Microsoft-Azure-Application-Gateway/v2"> | |
| <!--- header such as awselb/2.0 or Microsoft-Azure-Application-Gateway/v2 are ok ---> | |
| <cfif NOT reFind("^(awselb|Microsoft-Azure-Application-Gateway)/v?[0-9.]+$", local.header)> | |
| BAD HEADER | |
| <cfelse> | |
| ALLOW | |
| </cfif> | |
| <Br> | |
| <cfoutput>#local.header#</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment