Postgres query leaked in error · Issue #3711 · feathersjs/feathers · GitHub
Skip to content

Postgres query leaked in error #3711

Open

Description

@ssande-fwd

To reproduce:

  1. Make a feathers app with postgres (defaults otherwise)
  2. Create a service with no authentication that uses SQL
  3. Run the app
  4. Query an invalid id type
  5. Observe the query in the message field

Request:
http://localhost:3030/dummy/test

Response:

{
    "name": "NotFound",
    "message": "select \"dummy\".* from \"dummy\" where \"dummy\".\"id\" = $1 - invalid input syntax for type integer: \"test\"",
    "code": 404,
    "className": "not-found"
}

Activity

  1. SteveSande commented on Oct 5, 2026

    @SteveSande

    I have a fix for this coming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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