Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-M4
-
Fix Version/s: 3.0.0-RC1
-
Component/s: Transport: HTTP(S) / Jetty
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
In org.mule.transport.http.transformers.HttpRequestBodyToParamMap, method public Object transform(MuleMessage message, String encoding), following code seems to be invalid:
boolean isUrlEncoded = contentType.startsWith("application/x-www-form-urlencoded");
It throws Null Exception when invoked with GET HTTP method.
Suggested change:
boolean isUrlEncoded = (contentType!=null)? contentType.startsWith("application/x-www-form-urlencoded") : false;
Activity
Dirk Olmes
09/Aug/10 08:59 AM
View full commit
MULE-4999 (HttpRequestBodyToParamMap should transform GET method)
git-svn-id: https://svn.codehaus.org/mule/branches/mule-3.x@18898 bf997673-6b11-0410-b953-e057580c5b09
Dirk Olmes
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Dirk Olmes [ dirk ] |
Dirk Olmes
made changes -
| Fix Version/s | 3.0.0-RC1 [ 10859 ] | |
| Priority | To be reviewed [ 6 ] | Minor [ 4 ] |
Dirk Olmes
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
39m 1s | 1 | Dirk Olmes | 09/Aug/10 09:01 AM |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Repository mule on http://foo.bar/ failed: Error in remote call to 'FishEye 0 (http://foo.bar/)' (http://foo.bar) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=MULE-4999, p4JobFixed=MULE-4999, rep=mule}, methodType=GET}] : java.net.UnknownHostException: foo.bar
3.x: http://fisheye.codehaus.org/changelog/mule/?cs=18898