![]() |
Invalid Security Token on "Mark All Read" The following code in forumdisplay.php is causing an Invalid Security Token error message on mobile browsers (IE Mobile on Windows Mobile 6.1) Code: // Prevent CSRF. See #32785 $vbulletin->input->clean_array_gpc('r', array( 'markreadhash' => TYPE_STR, )); if (!verify_security_token($vbulletin->GPC['markreadhash'], $vbulletin->userinfo['securitytoken_raw'])) { eval(standard_error(fetch_error('security_token_in valid', $vbulletin->options['contactuslink']))); } The full code in that area is: Code: // ############################### start mark forums read ############################### if ($_REQUEST['do'] == 'markread') { // Prevent CSRF. See #32785 $vbulletin->input->clean_array_gpc('r', array( 'markreadhash' => TYPE_STR, )); if (!verify_security_token($vbulletin->GPC['markreadhash'], $vbulletin->userinfo['securitytoken_raw'])) { eval(standard_error(fetch_error('security_token_in valid', $vbulletin->options['contactuslink']))); } require_once(DIR . '/includes/functions_misc.php'); $mark_read_result = mark_forums_read($foruminfo['forumid']); $vbulletin->url = $mark_read_result['url']; eval(print_standard_redirect($mark_read_result['phrase'])); } // Don't allow access to anything below if an invalid $forumid was specified if (!$foruminfo['forumid']) { eval(standard_error(fetch_error('invalidid', $vbphrase['forum'], $vbulletin->options['contactuslink']))); } Why is this new Security Token feature for marking the forums read not working on this mobile browser??? Any ideas? |
الساعة الآن 10:19 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir