From df908ce94266c1297f0e2057ca6ffd9c377047de Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 5 Nov 2018 23:55:46 +0100 Subject: [PATCH] Keine Ahnung 2 --- src/URI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/URI.cpp b/src/URI.cpp index fc5365f..7e15d7f 100644 --- a/src/URI.cpp +++ b/src/URI.cpp @@ -118,12 +118,12 @@ URI::URI(string webroot, string reqpath) { if (relpath[relpath.length() - 1] == '/') { relpath.erase(relpath.length() - 1); } - newpath = relpath + '/' + info; + newpath = relpath + info; filepath = ""; } else if (relpath != reqpath) { - if (!info.empty()) { + /*if (!info.empty()) { info.erase(0,1); - } + }*/ newpath = relpath + info; } else { newpath = "";