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

class ARModel < ActiveResource::Base = ""

The literal string '' gets passed to rails
and authorization subsequently fails.

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

Firefox and safari handle this fine.