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:
commit
74e89e94e9
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue