2022-12-15, 17:45:02
(This post was last modified: 2022-12-15, 18:02:48 by vanfruniken.)
First of all, my apology for not noticing (and mentioning) that the problem with slashes, used as escape characters, disappearing upon saving component edits (as in: " \ n " -> " n " (spaces added for correct rendering)), also occurs in my patched site under php 7.4.x.
Therefore, it must be caused by the patches itself (maybe in /admin/components.php), not directly by changed php8 behavior; or in the action 'component-save'.
To strasidlo: (thanks for your comment: )
...easy... and change the last line to
$FileContents = $_POST['content'];
Yeah, that might help for the theme, but it didn't for components editing. I am now looking for inappropriate use of stripslashes, but (not being a (php | getsimple) guru) any suggestions are still welcome.
Maybe line 109 in /admin/components.php/ with "stripslashes($component->value)" is at fault.
Therefore, it must be caused by the patches itself (maybe in /admin/components.php), not directly by changed php8 behavior; or in the action 'component-save'.
To strasidlo: (thanks for your comment: )
...easy... and change the last line to
$FileContents = $_POST['content'];
Yeah, that might help for the theme, but it didn't for components editing. I am now looking for inappropriate use of stripslashes, but (not being a (php | getsimple) guru) any suggestions are still welcome.
Maybe line 109 in /admin/components.php/ with "stripslashes($component->value)" is at fault.