ActiveResource and HTTP Basic Auth url encoding

I'm using an email address for HTTP Basic auth username.

Correct me if I'm wrong, but shouldn't active resource handle this url
encoding?

class ARModel < ActiveResource::Base
self.site = "http://email%40domain.com:asdf@localhost:3000"
end

The literal string 'http://email%40domain.com' gets passed to rails
and authorization subsequently fails.

Generally, wouldn't it be smart for Active Resource to support url
encoding?

Firefox and safari handle this fine.