0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

Merge pull request #280 from jameslnewell/master

only encode the / character to fix issue installing scoped packages f…
This commit is contained in:
Alex Kocharin 2015-09-27 02:19:03 +03:00
commit 74e89e94e9

View file

@ -7,7 +7,9 @@ var parse_interval = require('./config').parse_interval
var Logger = require('./logger')
var MyStreams = require('./streams')
var Utils = require('./utils')
var encode = encodeURIComponent
var encode = function(thing) {
return encodeURIComponent(thing).replace(/^%40/, '@');
};
module.exports = Storage