Skip to content

Commit

Permalink
fix uriDecoded
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamas10 committed Nov 12, 2013
1 parent 5000e07 commit 34c6aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function accesslog(req, res, format, cb) {

var uriDecoded;
try {
uriDecoded = decodeURIComponent(uriDecoded);
uriDecoded = decodeURIComponent(req.url);
} catch (e) {
uriDecoded = e.message || 'Error decoding URI';
}
Expand Down

0 comments on commit 34c6aa3

Please sign in to comment.