JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-4999

HttpRequestBodyToParamMap should transform GET method

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Dirk Olmes added a comment - 09/Aug/10 09:01 AM

3.x: http://fisheye.codehaus.org/changelog/mule/?cs=18898

Show
Dirk Olmes added a comment - 09/Aug/10 09:01 AM 3.x: http://fisheye.codehaus.org/changelog/mule/?cs=18898

People

  • Assignee:
    Dirk Olmes
    Reporter:
    Łukasz Kolek
Vote (0)
Watch (0)

Dates

  • Created:
    09/Aug/10 08:22 AM
    Updated:
    09/Aug/10 09:01 AM
    Resolved:
    09/Aug/10 09:01 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.