Skip to content

docs: describe the Express 5 urlencoded parser accurately - #2582

Open
ragib-mrb wants to merge 1 commit into
expressjs:mainfrom
ragib-mrb:docs/urlencoded-qs-charset
Open

ragib-mrb wants to merge 1 commit into
expressjs:mainfrom
ragib-mrb:docs/urlencoded-qs-charset

Conversation

@ragib-mrb

Copy link
Copy Markdown

Two statements about express.urlencoded() in the 5.x API describe body-parser 1.x:

  • extended: false is described as using querystring. In body-parser 2.x both modes use qs; extended: false just turns off nesting (depth 0). For example, the body x=%E9 parses to { x: '%E9' }, where querystring would give { x: '�' }.
  • It says only UTF-8 is accepted. body-parser 2.x also accepts ISO-8859-1 (its README says "UTF-8 and ISO-8859-1"), and x=%E9 with charset=iso-8859-1 parses to { x: 'é' }.

@ragib-mrb
ragib-mrb requested a review from a team as a code owner November 12, 2026 17:46
@netlify

netlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit d41a1ac
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/6af5fb665d5464d6cfdb8d6a
😎 Deploy Preview https://deploy-preview-2582--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🟢 up 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant