express icon indicating copy to clipboard operation
express copied to clipboard

Fast, unopinionated, minimalist web framework for node.

Results 391 express issues
Sort by recently updated
recently updated
newest added

Replaced use of `arguments` in `req.acceptsEncodings` with the spread syntax (`...encodings`) to improve readability and reduce code complexity, while maintaining the same functionality.

online package is obsolete, doesn't work with the latest redis package any more. The way to connect to redis server also is also need to be changed.

AFAIK, there is currently no generic / documented way to manipulate responses before they are passed on to the underlying socket (through a transform stream for example). I can think...

discuss
enhancement
ideas

Replaces `arguments` with spread syntax (`...charsets`) in `req.acceptsCharsets`, making the function more concise and improving readability. The new implementation passes arguments directly to `accepts(this).charsets`, achieving the same functionality with cleaner...

- Updated the query parsing function to utilize modern JavaScript features. - Changed the JSDoc return type from {String} to {Object} to accurately describe the return value. - Enhanced readability...

## Overview This PR introduces two independent enhancements to Express.js that address long-standing issues with CDN caching and query string handling. ### Changes Included #### 1. CORS-Aware ETag Generation (Fixes...

## Summary - guard the options merge in `app.render` so passing `null`/`undefined` behaves the same as “no locals”, restoring the pre-regression contract - add a regression test exercising both `null`...

This PR adds a test case to reproduce the issue described in #6941. When passing `undefined` to `res.redirect()`: 1. It prints a `express deprecated` warning to the console. 2. But...

Calling res.redirect(undefined) currently sends a 302 response with the header Location: undefined. While there is a deprecation warning printed to the console ("Provide a url argument"), the actual HTTP response...

bug

`res.location()` currently passes the value directly into `encodeUrl(url)`. If `url` is not a string (e.g., null, undefined, numbers, objects), this causes a TypeError and crashes the response. This PR adds...