Ticket #1605: Incorrect parsing FTP-string
commitcf8ae36637b6f15db3dbc884156cb6273d85c3a5
authorSlava Zanko <slavazanko@gmail.com>
Tue, 1 Dec 2009 14:17:32 +0000 (1 16:17 +0200)
committerSlava Zanko <slavazanko@gmail.com>
Tue, 22 Dec 2009 09:07:24 +0000 (22 11:07 +0200)
treee93718b752b4898e69c109f0306a84208003f7f1
parent3c49c19ac08e397b9fef29fd1d5a997b77638214
Ticket #1605: Incorrect parsing FTP-string

ENTRY "example.net" URL "/#ftp:examplenet:5wDJP1B/y@example.net"

When I try connect to it I saw:
"ftpfs: making connection to examplenet"
off course this is failed by timeout.

Fix issue:
Now search for '@' sign.
If present - search for slash at found position
If not present - search at start of string.

Also fixed parce '@' sign into password area of URI.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
vfs/vfs.c