Revision 1615
Added by Luisehahne almost 13 years ago
save.php | ||
---|---|---|
38 | 38 |
// Update the mod_wysiwygs table with the contents |
39 | 39 |
if(isset($_POST['content'.$section_id])) { |
40 | 40 |
$content = $_POST['content'.$section_id]; |
41 |
if(version_compare(PHP_VERSION, '5.3.0', '<'))
|
|
41 |
if(ini_get('magic_quotes_gpc')==true)
|
|
42 | 42 |
{ |
43 | 43 |
$content = $admin->strip_slashes($_POST['content'.$section_id]); |
44 | 44 |
} |
Also available in: Unified diff
+ Validationfix, add qx_rawlang.php in quickSkin_alpha to solve
<a> escaping malformed URI reference messages in javascript
! fixed magic_quotes_gpc=on, magic_quotes going to be removed in PHP6.
and some hoster do not set it to off