Call expand_filename (e.g. for ~ expansion) on all FILENAME config options
Split off #28298 (moved):
Replying to arma:
Ok, that above fix is bad, because it will complain when you set DataDirectory to e.g.
~/.test-- which is actually an absolute path, even if it doesn't start with
"~" expansion is not universal: it only works in some shells, some languages, and some applications.
In particular, "~" expansion is not a documented feature of path_is_relative() or make_path_absolute(). We can add it as a feature if you want.