Permalink
Browse files

Fixing #37

  • Loading branch information...
1 parent c6cb976 commit 5e5932af0126b8da92f8bda3b3990b70b05e3b7d @tomgco tomgco committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/staticGzip.js
View
2 lib/staticGzip.js
@@ -47,7 +47,7 @@ var gzippoCache = {};
var gzippo = function(filename, charset, callback) {
- fs.readFile(filename, function (err, data) {
+ fs.readFile(decodeURI(filename), function (err, data) {
if (err) throw err;
zlib.gzip(data, function(err, result) {
callback(result);

0 comments on commit 5e5932a

Please sign in to comment.