Maybe I fixed it myself. In htpasswdform.php I changed
< Markup('htpasswdform', '<split',
< '/\\(:htpasswdform(.*?):\\)/ei', "HtpasswdForm(\$pagename, PSS('$1'))");
---
> Markup_e('htpasswdform', '<split',
> '/\\(:htpasswdform(.*?):\\)/i', "HtpasswdForm(\$pagename, PSS('$1'))");
I don't get the error and the recipe still seems to work.
Paul
On Jun 23, 2014, at 12:07 PM, Paul Bloch <[email protected]> wrote:
> Just upgraded our server and am getting these messages in the log. I read
> about it on PmWiki.org and in testing each cookbook recipe it appears that
> the fault is in the HtpasswdForm recipe. I only get the error messages when
> I go to the password form page. We are using ['Version'] = '2008-10-27' which
> appears to be the latest.
>
> I don't know PHP well enough to see where the problem lies. I only find
> preg_replace in these lines:
>
> htpasswdform.php: $user = "'" . preg_replace("/'/", "\\'", $user) . "'";
> htpasswdform.php: return preg_replace(array('/^(["\'])(.*)\\1$/',
> '/\\\(["\'])/'),
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users