Skip to content
Myr

s/parseQuery/parse/g (The node querystring module changed recently)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by isaacs · committed by isaacs · parent 0c82752 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:lib/express/plugins/body-decoder.js+1 added-1 removed
modified:lib/express/request.js+1 added-1 removed
54 unmodified lines
55 this.url = url.parse(this.url)56 this.url.pathname = exports.normalizePath(this.url.pathname) 57 this.params = {}58 this.params.path = {}59 this.params.get = this.url.query ? queryString.parseQuery(this.url.query) : {}59 this.params.get = this.url.query ? queryString.parse(this.url.query) : {}60 this.params.post = this.params.post || {}61 this.plugins = Express.plugins.map(function(plugin){62 return new plugin.klass(plugin.options) 63 })
378 unmodified lines
modified:lib/express/utils.js+1 added-1 removed