e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Bug]: Magic Quotes ini value being set despite being deprecated #5174

Closed CaMer0n closed 5 months ago

CaMer0n commented 5 months ago

What e107 version are you using?

Latest Github version (just updated)

Bug description

The following is being called in e107_class.php

self::ini_set('magic_quotes_runtime', 0); self::ini_set('magic_quotes_sybase', 0);

Both of these are deprecated in PHP 7.4+

How to reproduce

View the code

Expected behavior

Don't set them at all.

What browser(s) are you seeing the problem on?

Firefox

PHP Version

PHP 8.3