actinia-core
actinia-core copied to clipboard
More secure path mangling
This is a follow up from the excellent #280. I think the security might even be improved by the following PR.
I'd really like a review from @anikaweinmann or @mmacata on this; this is open for discussion.
Hmm. Probably some occasions missed. Hopefully just that.
Please have another look @anikaweinmann I marked this as ready for review now. I added some arguments to the two lines you remarked on. I'd love to hear your thoughts again.
@marcjansen do you want to add a r
/w
parameter to the functions? Otherwise it is also fine for me to merge it as it is.