Fix LIST when /bin/ls parameters send.
commit19521ab60feecef886738ee4cc1a37ab0dd772de
authorBartosz Taudul <wolf.pld@gmail.com>
Mon, 18 Aug 2008 19:12:28 +0000 (18 21:12 +0200)
committerBartosz Taudul <wolf.pld@gmail.com>
Mon, 18 Aug 2008 19:12:28 +0000 (18 21:12 +0200)
tree2e0408bdcf28b4fbcc53533ae856ac955222b5ea
parent3a88367a47be2d10bef28a50710f144a974638bb
Fix LIST when /bin/ls parameters send.

Some dumb clients (ie. konqueror) send "LIST -la", as they assume that
/bin/ls will be executed by the server, which obviously won't happen
here. After "450 Some problems" is sent by the server, client sends
"LIST", but doesn't like the results. So just ignore parameter when it
begins with "-".
Session.cpp