codeclubsocial / codeclub_website_dev

CodeClub website source (website no longer hosted)
http://www.codeclub.social
26 stars 7 forks source link

bodyParser.urlencoded({extended:... has both true and false values #38

Closed holaymolay closed 7 years ago

holaymolay commented 7 years ago

in app.js

app.use(bodyParser.urlencoded({extended: true})); app.use(bodyParser.urlencoded({ extended: false }));

I think false needs to remain, but I'm not 100% sure.

craig429 commented 7 years ago

Here is a concise Stackoverflow answer to the question about the difference: https://stackoverflow.com/questions/29136374/what-the-difference-between-qs-and-querystring Here is the Github API description: https://github.com/expressjs/body-parser

I don't see any downside to using extended: true so I'm sticking with that and closing this issue.

craig429 commented 7 years ago

I really wish I understood why these links don't work from inside this page but work fine if you copy and paste them into the browser.

holaymolay commented 7 years ago

try using markdown syntax