Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Add route parameter validation #29

Closed
dannycoates opened this issue Jun 1, 2017 · 1 comment
Closed

Add route parameter validation #29

dannycoates opened this issue Jun 1, 2017 · 1 comment
Assignees

Comments

@dannycoates
Copy link
Contributor

We want to ensure the :id matches a hex string with the regex /[0-9a-fA-F]{32}/

http://expressjs.com/en/guide/routing.html#route-parameters

@abhinadduri
Copy link
Collaborator

Implemented in refactoring branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants