satyagraha / logviewer

Provides a capability to tail log files in a web browser, implemented using websockets.
63 stars 25 forks source link

OS difference problem #2

Open zdary opened 10 years ago

zdary commented 10 years ago

When running application from different platform than server, the remote file path gets corrupted. I am running logviewer from windows and try to ssh to linux server. The file name given in linux format get converted to windows format. i.e. ssh://server/opt/filename.log get translated into c:\opt\filename.log

Issue is in TailerSsh class filePath = new File(uri.getPath()).getCanonicalPath();

satyagraha commented 10 years ago

Thanks for the two reports. I will take a look as time permits.