Closes GH-10987
We explicitly forbid adding paths with a leading `..` to `open_basedir` at runtime. Closes GH-7024.