[Pmwiki-users] Re: Case Insensitive URLs

Thomas -Balu- Walter list+pmwiki-users
Sun Apr 4 13:42:31 CDT 2004


On Fri, Apr 02, 2004 at 08:48:46PM -0700, Patrick R. Michaud wrote:
>    1. PmWiki could (and already does) store a page's "official 
>       case-sensitive name" along with the page, and use that when
>       producing a page title.  The downside is that this sometimes
>       requires an extra page read to get the correct name, as the
>       filename is no longer sufficient, and it would also be possible
>       for the official name's case to be subverted in a variety of ways.
>    2. For the page's title, the system could simply choose to use the
>       case given in the page name that was used to access the page.
>       This makes things a bit "weird" overall as the page title
>       seems to change depending on how it was accessed (and this approach
>       doesn't resolve the search problem at all).

3. What about using a different "find file" mechanism? Use case sensitive
titles and filenames as usual, but try to simulate the behaviour of OS/X
or Windows: Try to load the filename as given. If not found, do a case
insensitive search for the file. This should be easy to implement, but I
don't know yet where and what internals of PmWiki this will break.

-- Balu



More information about the pmwiki-users mailing list