عرض مشاركة واحدة
قديم 08-12-2009, 08:11 AM   رقم المشاركة : 1
معلومات العضو
شيخ نفسه
 
إحصائية العضو






شيخ نفسه غير متواجد حالياً

معلومات إضافية
الدولة  Saudi Arabia
مزاجي

الجنس  male_saudi_arabia
 
SMS منتديات لك عيوني ابداع وتميز

 

 

 

 

 

 

افتراضي ثغره + ترقيع لكافة النسخ


 

السلام عليكم ورحمة الله وبركاته

المصدر http://www.vbulletin...97&postcount=4

اقتباس: For those with expired owned licenses that does not need the full bug fix maintenance release, a patch for the vbchop() problem described in first post is now added in your member's area. You may download it here:
http://members.vbull...om/patches.php

This problem is not exclusive to 3 We are looking at releasing the security patches for 3.7 and 3.6 within the next 24 hours. But in the mean time, you can DIY by editing includes/functions.php.

Find:

كود PHP: if (preg_match_all('/&(#[0-9]+|lt|gt|quot|amp);/', $string, $matches, PREG_OFFSET_CAPTURE))
Add before that line:

كود PHP: $pretruncate = 13 * $length;
$string = substr($string, 0, $pretruncate);
This will make the string the regular expression is working with much much shorter, and not encounter the problem described above. كل ماعليك فتح ملف functions.php

الموجود داخل includes/functions.php

والبحث عن :

كود PHP: if (preg_match_all('/&(#[0-9]+|lt|gt|quot|amp);/', $string, $matches, PREG_OFFSET_CAPTURE))
اضف فوقه :

كود PHP: $pretruncate = 13 * $length;
$string = substr($string, 0, $pretruncate);
وسلامتكم يالطيبين للعلم بالشىء ان الترقيع لنسخ 3.6 ومافوق

والاخوه المرخصين يمكنهم تحميل الباتش من هونا

http://members.vbull...om/patches.php

 

 

 

رد مع اقتباس