From e07b650ae63a7cd9781e50f3720685a9f3d2a035 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 11 Apr 2017 08:53:04 +0000 Subject: [PATCH] fix homeRe as per https://github.com/Daplie/le-store-certbot/issues/3 --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 78b8d49..4143914 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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');