Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-09-15 16:38:01

RalphFFM
Member
Registered: 2008-10-05
Posts: 40

Typo in comment.php?

/textpattern-4.2.0/textpattern/publish/comment.php, line 485, in function checkNonce()
if (!$nonce && !preg_match(‘#^[a-zA-Z0-9]*$#’,$nonce)) return false;

Should there not be a || instead of && ?
(I’m trying to understand. Thx in advance.)

Offline

#2 2010-09-16 07:13:34

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Typo in comment.php?

Good catch! Fixed in r3395.

Offline

Board footer

Powered by FluxBB