This does sound like a bug. Maybe what’s supposed to happen is that %{url} is supposed to include the host name. In an endo template a url without that host name is pretty useless (unless there is some html way of changing the relative base globally?)
The team is at a conference this week, so it’ll be a bit before they can weigh in on this one.