You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jedoch, auf einem anderen Server erhalte ich folgende Fehlermeldung:
rex_sql_exception: Error while executing statement "SELECT * from rex_wizard WHERE key="20fced4037235414c7a6e072e6877c9e907db61d6bf766cf"" using params []! SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key="20fced4037235414c7a6e072e6877c9e907db61d6bf766cf"' at line 1 File: redaxo/src/core/lib/sql/sql.php Line: 406
Ich habe das hier lokal getestet - funktioniert.
https://github.com/FriendsOfREDAXO/tricks/pull/339/files?short_path=eef534d#diff-eef534d4c1b41df7165f639f60f9a4f182777c813315f6c67b57dcaf1b4d602b
Jedoch, auf einem anderen Server erhalte ich folgende Fehlermeldung:
rex_sql_exception: Error while executing statement "SELECT * from rex_wizard WHERE key="20fced4037235414c7a6e072e6877c9e907db61d6bf766cf"" using params []! SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key="20fced4037235414c7a6e072e6877c9e907db61d6bf766cf"' at line 1
File: redaxo/src/core/lib/sql/sql.php
Line: 406
Stacktrace
System report (REDAXO 5.15.1, PHP 8.1.21, MariaDB 10.4.30)
Es liegt wohl daran, dass der Feldname im where namens
key
hier nicht escaped wird scheinbar.The text was updated successfully, but these errors were encountered: