Wallet names including .. and . are unintuitive and can lead to various issues, see #34497
This disallows creating or loading wallets that have any path elements that are .. or ., including any present in an absolute path. This does not disallow relative paths altogether but rather limits them to only being subdirectories of the wallets directory.