Issue Details (XML | Word | Printable)

Key: MULE-3828
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andrew Perepelytsya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Automatically escape/unescape URIs for global http endpoints and the like

Created: 13/Oct/08 11:25 AM   Updated: 21/Oct/08 09:57 AM
Component/s: Core: Configuration
Affects Version/s: 2.1.1
Fix Version/s: 2.1.x Backlog

Time Tracking:
Not Specified

Labels:
User impact: Medium


 Description  « Hide
Check the http-functional-test-with-query.xml (HttpFunctionalWithTestQueryTestCase). It has the # escaped:
<http:endpoint name="clientEndpoint2" host="localhost" port="60199" path="test1/?foo=%23[header:foo]&amp;far=%23[header:far]" synchronous="true"/>

This is due to URI format requirements.

One # sign still works for this test:

<http:endpoint name="clientEndpoint2" host="localhost" port="60199" path="test1/?foo=#[header:foo]&amp;far=%23[header:far]" synchronous="true"/>

but not

<http:endpoint name="clientEndpoint2" host="localhost" port="60199" path="test1/?foo=#[header:foo]&amp;far=#[header:far]" synchronous="true"/>

Need to find the best place to escape those and unescape to make the URI constructor happy. Just FYI, ${} worked before there, so it was properly escaped, it seems.



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.