Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC0\xAEbar' for column 'redirectSrcUrl' at row 1 #111

Open
derFunk opened this issue Dec 12, 2018 · 0 comments

Comments

@derFunk
Copy link

derFunk commented Dec 12, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant