Title:
Coldfusion illegal argument exception, when parsing form variables with no =
| View in TrackerStatus/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: