We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8982ebc commit d6b8496Copy full SHA for d6b8496
scripts/web-server.js
@@ -86,7 +86,7 @@ StaticServlet.MimeMap = {
86
87
StaticServlet.prototype.handleRequest = function(req, res) {
88
var self = this;
89
- var path = ('./' + req.url.pathname).replace('//','/').replace(/%(..)/, function(match, hex){
+ var path = ('./' + req.url.pathname).replace('//','/').replace(/%(..)/g, function(match, hex){
90
return String.fromCharCode(parseInt(hex, 16));
91
});
92
var parts = path.split('/');
0 commit comments