From: Jeff D. <da...@da...> - 2001-08-17 20:09:24
|
On Aug 17, 2001, Reini Urban said: > isn't this already fixed in 1.3.x ? > At least I have a trivial fix for this in main.php. > > // enforce anonical "case insensitive bRaCkeT links". > // For DOS flatfiles and mysql and "bad queries" > if ( IsWikiPage($dbi, $pagename) and function_exists('WikiPageName') ) > $pagename = WikiPageName($dbi, $pagename); > > // Enable the output of most of the warning messages. > // The warnings will screw up zip files and setpref though. > ... > That's one way to fix the problem. I don't really like it though. (I don't think it's made it's way into the CVS yet either.) I'd rather fix it so that pages with different capitalization are truly different pages. ('PageOne' and 'PagEone', I think should be different pages, with different content.) (I think we've had this discussion before: http://phpwiki.sf.net/phpwiki/index.php?case%20insensitive%20bRaCkeT%20 links ). This has been fixed for the mysql backend by David Marsh --- notes about what he did are on the SF bug report page: http://sf.net/tracker/index.php?func=detail&aid=233898&group_id=6121&at id=106121 His fixes haven't made it into the CVS (either branch) yet though... ... and they do require a schema change. Cheers, Jeff |