tracker issue : CF-4181254

select a category, or use search below
(searches all categories and all time range)
Title:

1 extra empty request hit CF with IIS URL Rewrite rule (worked fine in CF10)

| View in Tracker

Status/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:

Henry, Could you please confirm the CF 10 update where this case works as expected?
Comment by Immanuel N.
2034 | August 17, 2016 12:47:08 AM GMT
ColdFusion 10 Update 18 isapi_redirect.dll file version 1.2.32.0 Thx
Comment by External U.
2035 | August 17, 2016 12:12:51 PM GMT
CF10: IIS on Windows 2008 R2 & Windows 10, no problem CF11: IIS on Windows 2012 R2 & Windows 10, 1 extra empty request
Comment by External U.
2036 | August 17, 2016 12:17:14 PM GMT
Hi Henry, Are your rewrite rules configured at site level or server level? If it is at site level, can you move them to server level and then try. Let us know the behavior in that case.
Comment by Chinoy G.
2037 | September 23, 2016 12:56:15 AM GMT