ActiveResource basic auth currently breaks when certain chars are used in the user name and/or password field, e.g. ''@'' as part of the user name. I created a ticket on the issue[1], but closed it again as I''m not sure where the responsibility really belongs. It''s a showstopper for us, though.. Thoughts? [1] <http://dev.rubyonrails.org/ticket/10902> Regards, Isak --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
vanpelt@gmail.com
2008-Feb-05 02:10 UTC
Re: cgi escaped basic auth data in ActiveResource?
I just ran into the same problem... if you use %40 and than call CGI.unescape on the username the problem is fixed. I forgot my username to the rails trac so I didn''t post on the ticket. It should be an easy patch, maybe I''ll submit if I get time. On Jan 23, 4:02 am, "Isak Hansen" <isak.han...@gmail.com> wrote:> ActiveResource basic auth currently breaks when certain chars are used > in the user name and/or password field, e.g. ''@'' as part of the user > name. > > I created a ticket on the issue[1], but closed it again as I''m not > sure where the responsibility really belongs. It''s a showstopper for > us, though.. Thoughts? > > [1] <http://dev.rubyonrails.org/ticket/10902> > > Regards, > Isak--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---