İki adet orta riskli ve 2 adet düşük riskli güvenlik güncellemesi bu yamada giderilmiştir.
İsteyen kişiler güncellenmiş dosyaları indirip ftp lerine atabilirler,isteyen kişilerde güncellemeyi elle yapabilirler.
Değişen dosyaları indirip ftp nize atmak için Linkleri görmek için üye girişi yapmalısınız. Üye ol
Elle Güncelleme için yapılması gereken adımlar :
Aç :
===============
1. inc/functions.php
===============
Bul :
Kod:
echo "alert('{$message}');\n";
Bununla Değiştir :
Kod:
echo "alert('".str_replace("'", "\'", $message)."');\n";
Bul :
Kod:
echo "window.location = '{$url}';\n";
Bununla Değiştir :
Kod:
echo "window.location = '".str_replace("'", "\'", $url)."';\n";
Aç :
===============
2. editpost.php
===============
Bul :
Kod:
$url = "polls.php?action=newpoll&tid=$tid&polloptions=".$mybb->input['numpolloptions'];
Bununla Değiştir :
Kod:
$url = "polls.php?action=newpoll&tid=$tid&polloptions=".intval($mybb->input['numpolloptions']);
Aç :
===============
3. attachment.php
===============
Bul :
Kod:
if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "msie") !== false && strpos($attachment['filetype'], "image") === false)
Bununla Değiştir :
Kod:
if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "msie") !== false)
Aç :
===============
4. inc/functions_upload.php
===============
Bul :
--
Kod:
$filename = "post_".$mybb->user['uid']."_".TIME_NOW.".attach";
--
Bununla Değiştir :
--
Kod:
$filename = "post_".$mybb->user['uid']."_".TIME_NOW."_".md5(uniqid(rand(), true)).".attach";
--
Aç :
================
5. modcp.php
================
Bul :
--
Kod:
$page_url .= "&{$field}=".htmlspecialchars_uni($mybb->input[$field]);
--
Altına Ekle :
--
Kod:
$mybb->input[$field] = htmlspecialchars_uni($mybb->input[$field]);
--
Aç :
================
6. inc/class_parser.php
================
Bul :
--
Kod:
$custom_mycode[$key]['regex'] = "#".$mycode['regex']."#si";
--
Üstüne Ekle :
--
Kod:
$mycode['regex'] = str_replace("\x0", "", $mycode['regex']);
--
Aç :
===============
7. inc/class_core.php (Sürüm Değiştirme)
===============
Bul :
--
Kod:
/**
* The friendly version number of MyBB we're running.
*
* @var string
*/
var $version = "1.4.2";
/**
* The version code of MyBB we're running.
*
* @var integer
*/
var $version_code = 1402;
--
Bununla Değiştir:
--
Kod:
/**
* The friendly version number of MyBB we're running.
*
* @var string
*/
var $version = "1.4.3";
/**
* The version code of MyBB we're running.
*
* @var integer
*/
var $version_code = 1403;
--
İşlem Tamamlanmıştır.