Active
Project:
Ajax
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2010 at 23:11 UTC
Updated:
28 Oct 2010 at 23:18 UTC
Jump to comment: Most recent file
Ajax breaks when it gets the return value from login when using the OpenID module in core.
OpenID returns a HTML form with JS at the end that is meant to autopost it to the OpenID provider site. Ajax seems to expect JSON and so of course it fails with "unknown error" when it gets the HTML.
I don't know if a plugin could solve this, but if so I guess that would be the ideal solution. As a workaround, it would be nice just to have it recognize that it's being given back an auto-posting form and pass it through unmodified.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | openid-validHTML.inc_.patch | 1.5 KB | greenreaper |
Comments
Comment #1
greenreaperI also tried applying this patch to make the OpenID return value valid HTML, and it would probably be worth testing any fix with that modification as well since it will be used on 7. I have attached a backported patch for openid.inc in 6.19.