redbird icon indicating copy to clipboard operation
redbird copied to clipboard

not working in windows, i solved... please change

Open fernandobhz opened this issue 8 years ago • 1 comments

lib/letsencrypt.js

on http create server

var filename = path.join(certPath, req.headers.host, uri); ----------------------------------------^^ var isForbiddenPath = uri.length < 3 || filename.replace(/\/g, '/').indexOf(certPath.replace(/\/g, '/')) !== 0; ------------------------------------------------------^^------------------------------------^^

on windows that comparsion need replace back slash

sorry i don t know how create pull requests yet

but that corrections is necessary for windows

fernandobhz avatar Nov 09 '17 20:11 fernandobhz

It is quite simple: https://help.github.com/articles/creating-a-pull-request/ :)

manast avatar Nov 09 '17 21:11 manast