fixed levels browsing in web library (up and drill down)

This commit is contained in:
Luis Ángel San Martín
2014-08-19 16:10:22 +02:00
parent acf04b5cd8
commit 679cd96d5b
5 changed files with 102 additions and 121 deletions

View File

@ -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);
}