Skip to content

Visible SQL request when displaying error message #57

Description

@d-plaindoux

While i'm reading Muhokama post I try to open https://muhokama.fun/topic/show/03c17d2e-6e82-4ef3-9348-e714a1290019.

As a result it displayed the following error message:

Database error: Request to <postgresql://...> failed: ERROR: invalid input syntax for type uuid: "03c17d2e-6e82-4ef3-9348-e714a129001" Query: "\n SELECT\n t.topic_id,\n c.category_id,\n c.category_name,\n u.user_id,\n u.user_name,\n u.user_email,\n t.topic_creation_date,\n t...".

A accurate error message should be preferred and revealing the internal mechanisms can be a good source of knowledges for hacks..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions