cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Please review changes to WildcardHelper
Date Mon, 19 Jun 2006 11:40:10 GMT
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
andreas.hartmann@wyona.com                     andreas@apache.org


Mime
View raw message