Keine Ahnung 3

This commit is contained in:
2018-11-05 23:57:39 +01:00
parent df908ce942
commit 89c0d2be81

View File

@ -121,9 +121,9 @@ URI::URI(string webroot, string reqpath) {
newpath = relpath + info; newpath = relpath + info;
filepath = ""; filepath = "";
} else if (relpath != reqpath) { } else if (relpath != reqpath) {
/*if (!info.empty()) { if (!info.empty() && relpath[relpath.length() - 1] == '/') {
info.erase(0,1); info.erase(0,1);
}*/ }
newpath = relpath + info; newpath = relpath + info;
} else { } else {
newpath = ""; newpath = "";