Skip to content

Single item array query parameter not correctly parsed in Azure App Services in 5.2.1 #7178

Description

@jur-clerkx

When we deploy our app on Azure App Services, a single query parameter is not parsed when using the ?param[]=value notation. Express will show this as a query param with the name param[] and the value value, while locally we get the correct behaviour: param and value [value]

Environment information

Version: 5.2.1

Platform: Linux Azure App Services

Node.js version: 24

Any other relevant information: Issue only occurs when running on Azure App Services. When running locally, it works as expected

This issue started for us after upgrading to the 5.2.1 version. We had no issues when running the 4.18.x version

What steps will reproduce the bug?

Add a debug endpoint, e.g.;

router.get("/debug/query", (req: Request, res: Response) => {
	const rawQueryString = req.originalUrl.split("?")[1] ?? "";

	return res.json({
		parsedQuery: req.query,
		rawQuery: {
			queryString: rawQueryString,
		},
	});
});

Send a request with the query format ?param[]=value.

Activity

  1. added theissue type on Apr 14, 2026
  2. converted this issue into a discussion #7179 on Apr 14, 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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions