luet/cmd/database
Ettore Di Giacinto 9d1594c036 Check if the system-target path supplied is absolute
docker.Untar
(https://github.com/mudler/luet/blob/master/vendor/github.com/docker/docker/pkg/archive/archive.go#L942) requires absolute paths.
We didn't do any input validation before, assuming the path passed by
were absolute since they were coming from YAML configuration files, now
that this is not the truth anymore we need to sanitize the input.

With this change we check if the given path is absolute or relative, if
it's relative we calculate the absolute path and use it in place.
2021-08-03 16:22:59 +02:00
..
create.go Check if the system-target path supplied is absolute 2021-08-03 16:22:59 +02:00
get.go Check if the system-target path supplied is absolute 2021-08-03 16:22:59 +02:00
remove.go Check if the system-target path supplied is absolute 2021-08-03 16:22:59 +02:00