emberjs/data — pull request #209 by joliss (2012-04-19 14:16:57+00:00)
Title: Guard against URL components starting with slash

If you set url: '/foo' or namespace: '/api', you get URLs with two
leading slashes, which then are interpreted protocol-relative
(http://foo). This is incredibly confusing, so this patch adds
assertions to guard against it.