Hi all

I was trying to get the file upload in Lenya resurrected and stumbled
across the following problem:

The RequestParameterMatcher doesn't seem to match the request
parameters if they come with a multipart/form-data post request.

Is there a way to make the RequestParameterMatcher match these request
parameters?

Attached is a minimal test case

Title: post-test

      <map:matcher name="usecase" logger="sitemap.matcher.test" 
src="org.apache.cocoon.matching.WildcardRequestParameterMatcher">
        <parameter-name>lenya.usecase</parameter-name>
      </map:matcher>

      <map:match pattern="post-test.html">
        <map:generate src="post-test.xhtml"/>
        <map:serialize type="html"/>
      </map:match>
      
      <map:match pattern="foo" type="usecase">
        <map:generate type="request"/>
        <map:serialize type="xml"/>
      </map:match>

      <map:match pattern="post-test2.html">
        <map:generate type="request"/>
        <map:serialize type="xml"/>
      </map:match>
      


-- 
Christian Egli       [EMAIL PROTECTED]   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 

Reply via email to