bug fixed, the library name is no longer used in the urls of the web library

This commit is contained in:
Luis Ángel San Martín
2013-07-02 18:59:57 +02:00
parent 9fcf7366b1
commit 8a50379d30
10 changed files with 51 additions and 28 deletions

View File

@ -19,7 +19,7 @@ void CoverController::service(HttpRequest& request, HttpResponse& response)
QString path = QUrl::fromPercentEncoding(request.getPath()).toLatin1();
QStringList pathElements = path.split('/');
QString libraryName = pathElements.at(2);
QString libraryName = DBHelper::getLibraryName(pathElements.at(2).toInt());
QString fileName = pathElements.at(4);
//response.writeText(path+"<br/>");