zeek/testing/btest/Baseline/scripts.base.utils.paths
Christian Kreibich 9d59a48ae2 Expand build_path() function to handle empty dir arguments gracefully
When passing an empty string as a directory, the function would produce
filenames starting with a slash even when the given file_name is not an absolute
path. Defaulting to the root directory is likely never intended and might
conveivably be dangerous. The middle "/" is now skipped also if dir is an empty
string.
2022-05-19 09:45:52 -07:00
..
output Expand build_path() function to handle empty dir arguments gracefully 2022-05-19 09:45:52 -07:00