Hi all
I have a pipeline that processes some url.
<map:match pattern="testing/**>
  <map:generate src="" href="http://{1}">http://{1} type="html"/>
  <map:transform src=""/>
  <map:serialize type="xml"/>
</map:match>
 
I.e. I get some html page, generate it, run an xsl and serialize. Nothing complicated.
I can make a request localhost:8080/cocoon/testing/www.cnn.com/search.html (or whatever) and it works fine.
The problem arises when the requested URL contains question marks, as in www.some.com/index.asp?id=15
If I provide this URL for the above pipeline, it generates the URL www.some.com/index.asp, ignoring everything after the ?. I understand that this is because Cocoon treats everything after ? as request parameters to the pipeline, but this is not the case here.
 
So my question is how can I define Cocoon to take into the generator the full URL including the ? and everything after it. Is it at all possible?
 
I would appreciate any input.
Thank you very much for help.
 
Anna

Reply via email to