开发者

Rails weird Characters in address bar

开发者 https://www.devze.com 2023-04-04 22:43 出处:网络
I\'m using facebook connect in a RoR application. The connection works fine, but when the callback returns, the address of the page changes to something like \"127.0.0.1:3000/_=_\"

I'm using facebook connect in a RoR application. The connection works fine, but when the callback returns, the address of the page changes to something like "127.0.0.1:3000/_=_"

There's nothing wrong with the content and nothing else seems affected, but the URL shouldn't be like this, 开发者_开发技巧should it?

Thanks a lot


I have the same URL when I have a callback from Facebook (using OmniAuth) and I've also seen the same URL in other non-rails apps. It's because of the session redirect behaviour from Facebook. See this blog post: https://developers.facebook.com/blog/post/552/

0

精彩评论

暂无评论...
验证码 换一张
取 消