Ticket #7203: 7203.patch

File 7203.patch, 483 bytes (added by Tautvydas Andrikys, 8 years ago)

Fix for unix based servers

  • src/engine/directorylistingparser.cpp

    Fixed: #7203 Automatically trimming file name for downloading
    
    diff -r fad3ef14c161 -r a5172d37b9d0 src/engine/directorylistingparser.cpp
    a b  
    988988        }
    989989
    990990        // Get the filename
    991         if (!pLine->GetToken(++index, token, 1))
     991        if (!pLine->GetToken(++index, token, 1, true))
    992992            continue;
    993993
    994994        entry.name = token.GetString();