I tried disabling magic_qotes any way possible but this did not worked! The only solution I found was editing library/joomla/input/filter/input.php.
Function clean (line 159)
Code: Select all
public function clean($source, $type = 'string') {
// Handle the type constraint
switch (strtoupper($type)) {
case 'INT':
Code: Select all
public function clean($source, $type = 'string') {
if(get_magic_quotes_gpc()){
if (is_string($source))
$source = stripslashes($source);
else if(is_array($source))
array_walk($source, create_function ('&$var', '$var=stripslashes($var);'));
}
// Handle the type constraint
switch (strtoupper($type)) {
case 'INT':