Since I have upgraded from 2.8.6 to 2.9 (using the admin panel) my custom permalinks converted to a double URL.
Switching back to the default permalink setting fixes the problem.
However, when I tried to remake the custom structure, here's what happens:
but when I save changes, the entry moves the slashes around to look like this
which seems to be creating the double URL problem.