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

only encode the / character to fix issue installing scoped packages from an upstream registry. @see #278.

This commit is contained in:
James Newell 2015-07-08 09:59:35 +10:00
parent 93245c0179
commit a9c749995a

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 thing.replace('/', '%2f');
};
module.exports = Storage