Add req.search property containing unparsed query string

Open
#3,097 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
backend

Research direction

Start by locating Express's request-query parsing entry point and the existing request properties related to query strings. Determine how an unparsed query string should be exposed as req.search, then add coverage for the new property and confirm existing query parsing behavior remains unchanged.

Written by the indexing model from the issue text.

Description

ideas

This is will make things simpler when building an isomorphic app which will use its own query string parser in order to make it work consistently on the server and the client.

Dominant language
JavaScript
Stars
69.7k
Forks
25.6k
Avg merge
2d 9h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from expressjs/express

All issues in expressjs/express

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.