Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

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

@derFunk

Description

@derFunk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions