insights-core icon indicating copy to clipboard operation
insights-core copied to clipboard

Mangle converts "." in path to "/" when path is unmangled

Open bfahr opened this issue 5 years ago • 0 comments

When a simple command like ls /etc/yum.repos.d is mangled it converts the "/" chars to ".", so in this case insights_commands/ls_.etc.yum.repos.d. When the archive is read and the parser self.file_path is created from an archive, unmangle sets it as /etc/yum/repos/d. This may not create an issue with parsers since they know the path. However if there are parsers that are compensating for this now, like this one #1747.

bfahr avatar Mar 21 '19 14:03 bfahr