otros-systems / otroslogviewer

Log viewer focused on developers work
Apache License 2.0
422 stars 87 forks source link

HTTP import log file not working with special characters #487

Open sinjap opened 6 years ago

sinjap commented 6 years ago

When using special characters in a password in the form of:

http(s)://username:p/ssword@server.com/logs/debug.log

It cannot be handled and a vfs2.FileSystemException is trown saying: Port number is missing from URI

otrebski commented 6 years ago

Apache VFS2 is not able to parse URL. You can try to escape special characters:

http(s)://username%3Ap%2Fssword@server.com/logs/debug.log

Are you asked about user/password if you try to open?

http(s)://server.com/logs/debug.log
http(s)://username@server.com/logs/debug.log
sinjap commented 6 years ago

I'll try masking the special characters but I'm not asked for any password at all.