mirror of
https://github.com/YACReader/yacreader
synced 2025-07-25 16:34:56 -04:00
fixed levels browsing in web library (up and drill down)
This commit is contained in:
@ -70,8 +70,6 @@ void RequestMapper::loadSession(HttpRequest & request, HttpResponse& response)
|
||||
|
||||
QList<QString> data = postData.split("\n");
|
||||
|
||||
QLOG_INFO() << "Data lenght : " << data.length();
|
||||
|
||||
if(data.length() > 2)
|
||||
{
|
||||
session.setDeviceType(data.at(0).split(":").at(1));
|
||||
@ -112,8 +110,8 @@ void RequestMapper::service(HttpRequest& request, HttpResponse& response) {
|
||||
loadSession(request, response);
|
||||
|
||||
//primera petici<63>n, se ha hecho un post, se sirven las bibliotecas si la seguridad mediante login no est<73> habilitada
|
||||
if(path == "/")
|
||||
{
|
||||
if(path == "/") //Don't send data to the server using '/' !!!!
|
||||
{
|
||||
LibrariesController().service(request, response);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user