open :
includes/sessions.php
find :
- Code: Select all
// mx Sitemaps Module (cat URL injection)
//"'(?)sitemaps([0-9]+)\.html(".$amp."){0,1}'",
replace with :
- Code: Select all
// mx Sitemaps Module (cat URL injection)
"'(?)sitemaps([0-9]+)\.html(".$amp."){0,1}'",
find :
- Code: Select all
// mx Sitemaps Module (cat URL injection)
//"".format_url($seo_cat_name)."-sc\\1.html".if_query('\\2')."",
replace with :
- Code: Select all
// mx Sitemaps Module (cat URL injection)
"".format_url($seo_cat_name)."-sc\\1.html".if_query('\\2')."",
find :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
//"'(?)forum-map([0-9]+)\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
//"'(?)forum-map([0-9]+)\.html(".$amp."){0,1}'",
replace with :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
"'(?)forum-map([0-9]+)\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
"'(?)forum-map([0-9]+)\.html(".$amp."){0,1}'",
find :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
//"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
//"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",
replace with :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",
As you don't use mxBB you can delete :
- Code: Select all
// mx Sitemaps Module (mxBB map URL + pagination)
//"'(?)mx-map\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
and :
- Code: Select all
// mx Sitemaps Module (mxBB map URL + pagination)
//"mx-map\\1.html".if_query('\\2')."",
As you can see, it's just un-commenting lines of code, longer to explain than to do
++

English |
French


