Thoughts, future, gauss-news and a bug
Alexander Bernauer
ffii at copton.net
Fri Jul 29 22:48:33 CEST 2005
Hi
On Fri, Jul 29, 2005 at 03:20:39PM +0200, Carsten Svaneborg wrote:
> Bug:
> http://gauss.ffii.org/browse fails but http://gauss.ffii.org/Browse works, I
> dont understand why. Is there anybody that has time to figure it out??
The regex is "(?i)browse/?(.*)$", so it matches on both browse and
Browse.
But the filter demands that the first group is not empty
def filter(pagename, matchobject):
return matchobject.group(1)!=""
So neither Browse nor browse passes this test.
The reason why for the second case it seems to work is, that there is a
regular wiki page named Browse, which is displayed in the second case.
I'm not sure, what is supposed to happen if the user browses either of
the urls. But I guess this is your bug.
cu
PS: yes, I'm kind of back again. Time is the problem... as usual
--
Alexander Bernauer
More information about the Gauss-parl
mailing list