3.x used to handle this seamlessly. I tried a few configuration options to restore this behavior but I can't seem to make it work.
It's not the end of the world if we have to substring and reconstruct the string, but I'd rather not if I'm just overlooking something.