Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

BUG: 1.8.7 missing require('./utils') in lib/http.js #585

Closed
wants to merge 1 commit into from

2 participants

@danmactough

lib/http.js uses utils.escape() but does not require('./utils'), thus throwing a ReferenceError.

@kevliu

This bug will cause TypeError: Object [object Object] has no method 'escape' to be thrown if an unmatched route is requested.

@danmactough
@danmactough

Closing as obsolete

@danmactough danmactough closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/http.js
View
1  lib/http.js
@@ -12,6 +12,7 @@
var http = require('http')
, parse = require('url').parse
+ , utils = require('./utils')
, assert = require('assert');
// environment
Something went wrong with that request. Please try again.