DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29442>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29442 [PATCH] UrlEncodeModule Summary: [PATCH] UrlEncodeModule Product: Cocoon 2 Version: Current CVS 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] As RawRequestParameterModule does not work there is no way to call remote services within sitemap. With RawRequestParameterModule it would look like this: <map:generate src="http://remote/page?param={raw-request-param:param1}"/> This does not work though and might not be fixable (due to servlet container specifics). That is why I implemented a very simple UrlEncodeModule you use like this: <map:generate src="http://remote/page?param={url-encode:{request-param:param1}}"/> I could also provide a meta module for this so it would look like: <map:generate src="http://remote/page?param={encoded-request-param:param1}"/> This module takes only one configuration parameter - "encoding", which is url- encoded string encoding (defaults to utf-8) Source follows.
