log4j-detector icon indicating copy to clipboard operation
log4j-detector copied to clipboard

Incomplete pathnames

Open jrselzer opened this issue 3 years ago • 1 comments

Script detects e.g.

bea/user_projects/myproject/applications/jobScheduler.war

when actual path is

/home/user/proj/bea/user_projects/myproject/applications/jobScheduler.war

I'm not sure why the path gets cropped there and not on any other subdirectory. There is a mountpoint /home and another /home/user, but for some reason the script deletes up to /home/user/proj/

OS is Red Hat Enterprise Linux Server release 7.9 (Maipo) Linux 3.10.0-1160.24.1.el7.x86_64 #1 SMP Thu Mar 25 21:21:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

jrselzer avatar Jan 11 '22 09:01 jrselzer

Looks like the paths are relative to my current working directory, i.e. if I am in /home/user/proj this part gets omitted in the output, but outside my working directory path names are as expected.

jrselzer avatar Jan 11 '22 11:01 jrselzer