Skip to content
Myr

Added support for swappable querystring parsers

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent baca8f0 · Browse files · 1 file+7 added−1 removed
This commit

State

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

Diff stats

1 file+7 added−1 removed

  • other:+7 added−1 removed

1 file+7 added−1 removed

modified:lib/express/server.js+7 added-1 removed
54 unmodified lines
55 req.next = next;56 // Assign req.params.get57 if (req.url.indexOf('?') > 0) {58 var query = url.parse(req.url).query;59 req.query = queryString.parse(query);59 req.query = exports.parseQueryString(query);60 }61 next();62 });63
11 unmodified lines
7576Server.prototype.__proto__ = connect.Server.prototype;7778/**79 * Support swappable querystring parsers.80 */8182exports.parseQueryString = queryString.parse;8384/**85 * Proxy in order to register error handlers.86 */8788Server.prototype.listen = function(){
254 unmodified lines