fix homeRe as per https://github.com/Daplie/le-store-certbot/issues/3
This commit is contained in:
parent
ea43bda64e
commit
e07b650ae6
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
var homeRe = new RegExp("^~(\\/|\\\|\\" + path.sep + ")");
|
||||
var homeRe = new RegExp("^~(\\/|\\\\|\\" + path.sep + ")");
|
||||
var re = /^[a-zA-Z0-9\.\-]+$/;
|
||||
var punycode = require('punycode');
|
||||
var PromiseA = require('bluebird');
|
||||
|
|
Loading…
Reference in New Issue