Intresting question. I haven't tried it yet. The problem I think is the username. When it actually parsing the URl it finds two @ characters, where one or zero (logical/bool variable) expected, so the return value of the function will be two (witch is an intger), instead of the two strings (usernameassword and the hostname/dir/file). I'm not sure, just guess.