[Pmwiki-users] pmwiki-0.3.13 patch

Patrick R. Michaud pmichaud at sci.tamucc.edu
Thu Nov 14 16:17:20 CST 2002


You're right.  pmwiki-0.3.14 is now available that has the fix.
Apparently IE and Netscape in Windows are fairly forgiving about
incorrectly formatted URLs and so I didn't catch it in my testing.

(Yes, I know, I should be submitting all of my pages to the W3C HTML 
validator and it would catch these things.  Sigh.)

Pm



On Thu, 14 Nov 2002, Jonathan Scott Duff wrote:

> 
> It looks like you left out a couple of things from the HandleDiff()
> function.  Here's a context diff:
> 
> --- pmwiki-0.3.13/pmwiki.php.old    Sat Nov  9 20:33:32 2002
> +++ pmwiki-0.3.13/pmwiki.php   Thu Nov 14 12:14:09 2002
> @@ -679,8 +679,9 @@
>  }
> 
>  function HandleDiff($pagename) {
> -  global $TimeFmt,$Newline;
> +  global $TimeFmt,$Newline,$PageUrlFmt;
>    $page = RetrieveAuthPage($pagename,"read");
> +  $pageurl=FmtPageName($PageUrlFmt,$pagename);
>    if (!$page) { Abort("?cannot source $pagename"); }
>    Lock(0);
>    krsort($page); reset($page);
> 
> -Scott
> 





More information about the pmwiki-users mailing list