[pmwiki-devel] bug in ResolvePageName()?

Simon nzskiwi at gmail.com
Sat Mar 5 21:33:49 CST 2011


I agree ... needs a PITS <http://www.pmwiki.org/wiki/PITS/PITS> entry

see also
http://www.pmwiki.org/wiki/PITS/01220

<http://www.pmwiki.org/wiki/PITS/01220>Simon


On 3 March 2011 09:08, Mike Stop Continues <mike at mikestop.com> wrote:

> I believe the last line of ResolvePageName() is in error. It's line 653 in
> the current release:
>    return MakePageName($DefaultPage, "$pagename.$pagename");
>
> Shouldn't it actually be?
>    return MakePageName($DefaultPage, "$pagename.$DefaultName");
>
> This line is responsible for what the default page is for new groups, and
> should follow the setting of $DefaultName, shouldn't it?
>
> When you enter
>     http://example.com/NewGroup
> You're at NewGroup/$DefaultName
>
> When you create a new group when using newpagebox or even CleanURLs, e.g.
>    http://example.com/NewGroup?action=edit
> what page do you expect to be on?
>
> Mike Stop Continues
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
>
>


-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20110306/c1d3681f/attachment.html>


More information about the pmwiki-devel mailing list