miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Bugs miniBB Support Forums / Bugs /   

Little bug with resetting cookie

Author Paul
Lead Developer
#1 | Posted: 13 Apr 2010 13:24 | Edited by: Paul 
A little bug discovered recently by our team, which affects the default version of authorization file bb_cookie.php. MiniBB will try to reset authorization cookie i.e. make it living longer, if its expiration time stands closely to $cookie_expires setting's value.

In such case, the cookie is being set improperly in the current version, so instead of improving the cookie, it may be completely deleted instead.

Here is a very simple fix: locate the code which says

if($resetCookie) {

if($resetCookie) {

You should add FALSE to the end of the function.

Will be fixed in the next miniBB version.

Author astass
#2 | Posted: 14 Apr 2010 01:15 
Thank you.

Author jontrac
#3 | Posted: 15 Apr 2010 03:50 
Thanks Paul.

Author Paul
Lead Developer
#4 | Posted: 15 Apr 2010 08:27 | Edited by: Paul 
Thank Sergei for this actually ;-) He discovered this bug.

Fixed in miniBB 2.5.

Bugs miniBB Support Forums / Bugs / Little bug with resetting cookie Top
This topic is closed. New replies are not allowed.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB