tracker issue : CF-3651186

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

Coldfusion illegal argument exception, when parsing form variables with no =

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jon Hirschi / Jon Hirschi (Jon Hirschi)

Created: 10/17/2013

Components: Core Runtime

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / beta

Priority/Frequency: Major / Few users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 1

Problem Description:
Error is encountered when a request is made to the server with what appears to be a form variable with no '=' sign.  
Steps to Reproduce:

Actual request/response header sent to coldfusion attached.  doesn't matter what page is involved because coldfusion chokes on the request before the request is passed off to a cfm or cfc


POST http://localhost/ReportServer/Reserved.ReportViewerWebControl.cfm?OpType=SessionKeepAlive&ControlID=0bfd740df988461290c778259232abbd HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 24
Origin: http://localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Referer: http://localhost/ReportServer/?/Factory+Order+Summary&rs:Command=Render&rc:Parameters=Collapsed&FactoryId=1&OrderStatusId=0&AsofDate=10/7/2013
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: /ReportServer/Reserved.ReportViewerWebControl.cfm%3FOpType%3DSessionKeepAlive%26ControlID%3D4514d083b76e43a7b62b5096fd9db8e4_SKA=1; /ReportServer/Reserved.ReportViewerWebControl.cfm%3FOpType%3DSessionKeepAlive%26ControlID%3D0bfd740df988461290c778259232abbd_SKA=1; CFID=3626; CFTOKEN=45e21a1866377ea3-CF2F5C86-0013-356E-331FCABF91942C01; CFCLIENT_TVTRAFFIC=""; CFGLOBALS=urltoken%3DCFID%23%3D3626%26CFTOKEN%23%3D45e21a1866377ea3%2DCF2F5C86%2D0013%2D356E%2D331FCABF91942C01%23lastvisit%3D%7Bts%20%272013%2D10%2D17%2013%3A29%3A54%27%7D%23timecreated%3D%7Bts%20%272013%2D10%2D17%2011%3A36%3A46%27%7D%23hitcount%3D650%23cftoken%3D45e21a1866377ea3%2DCF2F5C86%2D0013%2D356E%2D331FCABF91942C01%23cfid%3D3626%23

i1it3w45okck5tejb3qhgk55

Actual Result:

 Exception report: The server encountered an internal error () that prevented it from fulfilling this request. 

exception: javax.servlet.ServletException: ROOT CAUSE: 
java.lang.IllegalArgumentException
	at coldfusion.filter.FormScope.parseQueryString(FormScope.java:475)
	at coldfusion.filter.FormScope.parsePostData(FormScope.java:446)
	at coldfusion.filter.FormScope.fillForm(FormScope.java:396)
	at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:464)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	....  cut off for brevity
Expected Result:

Coldfusion should parse the form element or at the very least not choke on the request and pass the response on to the coldfusion template.

Any Workarounds:

NONE

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3651186

External Customer Info:
External Company:  
External Customer Name: biggermork
External Customer Email:  
External Test Config: My Hardware and Environment details:



IIS 7

Coldfusion 10 Standard

Attachments:

Comments:

related to bug # CF-3042374 -- still not fixed in version 10
Comment by External U.
14184 | October 17, 2013 03:40:27 PM GMT
The fix would be available in the next major release (Comment added from ex-user id:vnigam)
Comment by Adobe D.
14185 | February 14, 2014 01:21:55 AM GMT
I have done some testing using the express version of Coldfusion 11 on Mac as this has been causing us some issues in CF10 since our payment gateway changed their responses. Get back a HTTP Status 400 error from Tomcat: The request sent by the client was syntactically incorrect.
Comment by External U.
14186 | May 19, 2014 09:16:52 AM GMT
Can't accept payments from Non 3D secure cards through our payment gateway until this is fixed.
Vote by External U.
14187 | May 19, 2014 09:18:41 AM GMT