Hi All, Consider this pipeline matcher:
<map:match pattern="xq/*/-/**"><map:generate type="servletService" src="cocoon:/list- category-tag.xq">
<map:parameter name="service"
value="servlet:exist:/db/feeds/{1}/entries?terms={2}"/>
</map:generate>
<map:serialize type="xml"/>
</map:match>
... when called using the following URL...
/xq/testfeed/-/one%7Ctwo
... results in the following exception...
java.net.MalformedURLException: Invalid URI syntax. Illegal
character in opaque part at index 74: servlet:exist:/db/feeds/
testfeed/entries?terms=one|two
at
org.apache.cocoon.servletservice.components.ServletSource.createServletC
onnection(ServletSource.java:142)
[...] So, my questions area) Should ServletSource be encoding the URL it receives ? I would've thought probably not...
a) How can I re-encode the part of the URL I am passing as a request param to my servlet service call within the sitemap?
Many thanks, Robin
smime.p7s
Description: S/MIME cryptographic signature
