ESDEV-2238 Add check if magic quotes are turned off