mirror of
https://github.com/YACReader/yacreader
synced 2025-07-24 16:05:01 -04:00
bug fixed, the library name is no longer used in the urls of the web library
This commit is contained in:
@ -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/>");
|
||||
|
Reference in New Issue
Block a user