Carsten Ziegeler wrote:
Andreas Hartmann wrote:
Carsten Ziegeler wrote:
Hi,

I just fixed the bug in our wildcard helper. The problem was the
following: if a pattern ends with a constant string (like ".xml")
and the uri in question contained this constant twice (like
("hello.xml.xml") the pattern did not match.

We noticed a problem in Lenya:

       <map:match pattern="*/">
         <map:redirect-to uri="introduction.html"/>
       </map:match>

After the change, this matches all URLs ending with a slash,
even ones containing slashes. This is not intended, is it?

No, it's definitly not. This is a bug, I'll add your test case.

OK, thanks a lot!

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]

Reply via email to