CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC0\xAEbar' for column 'redirectSrcUrl' at row 1
derFunk opened this issue · 0 comments
derFunk commented
When adding hex encoded special characters to a path, the error
CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC0\xAEbar' for column 'redirectSrcUrl' at row 1
is displayed.
Example URL: https://www.example.com/foo%c0%aebar
The path input string should be sanitized before querying the database.