cvs: php-bugs-web /include functions.inc
| From: | Philip Olson | Date: | Wed, 25 Feb 2009 18:37:49 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-3916@lists.php.net to get a copy of this message | ||
philip Wed Feb 25 18:37:49 2009 UTC
Modified files:
/php-bugs-web/include functions.inc
Log:
Fixed bug #37170 (CAPTCHA requires cookies), fix inspired by Kalle
http://cvs.php.net/viewvc.cgi/php-bugs-web/include/functions.inc?r1=1.261&r2=1.262&diff_format=u
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.261 php-bugs-web/include/functions.inc:1.262
--- php-bugs-web/include/functions.inc:1.261 Fri Feb 20 11:58:33 2009
+++ php-bugs-web/include/functions.inc Wed Feb 25 18:37:49 2009
@@ -710,7 +710,7 @@
}
$_SESSION['captcha_time'] = time();
}
- return 'Type <img src="/captcha-image.php?x=' . time()
+ return 'Type <img src="/captcha-image.php?x=' . time() . '&' .
htmlspecialchars(SID)
. '" alt="If you are unable to'
. ' read this image, click the help link to the right of'
. ' the input box" align="top" /> into this box...'