From 96696e745e8070e02a937cc86071da8e2278bb09 Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 30 Jun 2014 18:37:39 +0100 Subject: [PATCH] Fix path normalization --- .../public/coffee/app/ide/pdf/controllers/PdfController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee index 28e278d870..2b6a303dc1 100644 --- a/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee @@ -89,7 +89,7 @@ define [ rootDocDirname = ide.fileTreeManager.getRootDocDirname() if rootDocDirname? - path = path.replace(/^\.\//, rootDocDirname) + path = path.replace(/^\.\//, rootDocDirname + "/") return path