Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When having char @ in directory name, app won't be able to locate file. #204

Open
jasonh1024 opened this issue Feb 14, 2024 · 0 comments
Open

Comments

@jasonh1024
Copy link

jasonh1024 commented Feb 14, 2024

When having char @ in directory name, log-viewer won't be able to locate file.

"Log path is not specified. You can select log in file browser"

int pathStart = path.lastIndexOf('@');
if (pathStart < 0) {
if (path.isEmpty())
return Collections.emptyList();

        return Collections.singletonList(new LogPath(null, path));
    }

file directory got chopped. not sure why we are checking the position of @ sign. seems not used anywhere. (is it used in other code part to add additional info to the link? (line position?))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant