Title:
1 extra empty request hit CF with IIS URL Rewrite rule (worked fine in CF10)
| View in TrackerStatus/Resolution/Reason: To Track//ThirdParty
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 08/15/2016
Components: Web Container (Tomcat)
Versions: 2016,11.0,10.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
IIS Rewrite somehow yields 1 extra empty request to CF, confirmed by Application.cfc's onRequestStart.
Steps to Reproduce:
Setup an IIS site with Web Server Configuration Tool
In IIS Manager, add an URL Rewrite rule:
Requested URL: Matches the Pattern
Using: Wildcards
Pattern: *
Action type: Rewrite
Rewrite URL: index.cfm?rewrite=1
Application.cfc's onRequestStart():
<cfdump var="#now()# : #cgi.SCRIPT_NAME#?#cgi.query_STRING#" output="c:\app_cgi.txt">
Hit the site's index.cfm
Actual Result: 2 requests!
{ts '2016-08-15 11:53:50'} : /index.cfm?rewrite=1
************************************************************************************
{ts '2016-08-15 11:53:50'} : /index.cfm?
************************************************************************************
Expected Result: 1 request
{ts '2016-08-15 11:53:50'} : /index.cfm?rewrite=1
************************************************************************************
Any Workarounds:
CF10 did not have this issue. Downgrade to CF10?
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4181254
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: