The Wayback Machine - https://web.archive.org/web/20211119005643/https://github.com/topics/express-js
Skip to content
#

express-js

express logo

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

Here are 4,754 public repositories matching this topic...

tinyhttp
groenroos
groenroos commented Oct 28, 2021

Describe the bug

When an optional route param (i.e. /foo/:bar?) is not supplied for a particular request, the req.params object will still contain it, with a string value of "undefined".

This would mean that i.e. if (req.params.bar) would unexpectedly always be truthy, even when the param was not supplied.

To Reproduce

Simple app with optional route param bar:

ksraj123
ksraj123 commented Sep 30, 2020

Describe the bug
Search results in the members and administrators modals persist on closing on opening the modals again. There is no way to clear the search result other than searching for blank or switching to a different page and stitching back, both of these are not intuitive and lead to bad user experience.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to Members or A

Created by TJ Holowaychuk

Released November 16, 2010

Organization
expressjs
Website
expressjs.com
Wikipedia
Wikipedia