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;
filepath = "";
} else if (relpath != reqpath) {
/*if (!info.empty()) {
if (!info.empty() && relpath[relpath.length() - 1] == '/') {
info.erase(0,1);
}*/
}
newpath = relpath + info;
} else {
newpath = "";