GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Node request info fills query_string from route params instead of the query string · Issue #204 · exceptionless/Exceptionless.JavaScript

Node request info fills query_string from route params instead of the query string #204

New issue
Copy link
New issue
Copy link
Open
#212
Open
Node request info fills query_string from route params instead of the query string#204
#212
Copy link
Labels
bug

Description

@ejsmith
ejsmith
opened on Oct 28, 2026
Issue body actions

In @exceptionless/node 3.2.1, NodeRequestInfoPlugin builds @request.query_string from request.params (Express route parameters) instead of request.query. Events show route values as the query string, and the actual query string is never captured.

Where

  • packages/node/src/plugins/NodeRequestInfoPlugin.ts#L83-L88: stringify(request.params, exclusions)
  • packages/node/src/plugins/NodeRequestInfoPlugin.ts#L33-L42: the request shape has params but no query

What happens

For GET /users/42?search=abc&page=2 handled by app.get("/users/:id", ...), the event contains:

{ "path": "/users/42", "query_string": { "id": "42" } }

Expected

{ "path": "/users/42", "query_string": { "search": "abc", "page": "2" } }

Steps to reproduce

Express 5, @exceptionless/node 3.2.1:

import express from "express";
import { Exceptionless, KnownEventDataKeys } from "@exceptionless/node";

await Exceptionless.startup("API_KEY");
const app = express();
app.get("/users/:id", async (req, res) => {
  const ctx = await Exceptionless.createLog("demo").setContextProperty(KnownEventDataKeys.RequestInfo, req).submit();
  res.json(ctx.event.data["@request"]);
});
app.listen(3000);
// curl "http://localhost:3000/users/42?search=abc&page=2"

Suggested fix

Use request.query for query_string (add query: Record<string, unknown> to the request shape). Route params could be recorded separately if they are wanted, but they shouldn't go in query_string.

Activity

  1. ejsmith
    added
    bug
    on Oct 28, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.