Permalink
Browse files

Typo

  • Loading branch information...
1 parent 23350d3 commit 99d9fb2287ec3419116bf00b55af2f0dc9d713dc @akaspin committed Nov 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 chain/writer.js
View
@@ -120,7 +120,7 @@ Writer.prototype.redirect = function(redirectUrl, permanent) {
}
this.setStatus(permanent ? 301 : 302);
redirectUrl = redirectUrl.replace(/[\x00-\x1f]/, "");
- this.setHeader('Location', url.resolve(this.request.url, redirectUrl));
+ this.setHeader('Location', url.resolve(this._request.url, redirectUrl));
this.end();
};

0 comments on commit 99d9fb2

Please sign in to comment.