Hello guys,
It seems the HTTP refactoring around 10 days ago broke OpenId. Here's
a small patch that made it work for me:
--- dpp-liftweb-e845b3c129baf16bc35b46df9ee5b5049d4aee3a/lift-openid/
src/main/scala/net/liftweb/openid/OpenId.scala 2009-08-16
17:36:58.000000000 +0300
+++ dpp-liftweb-fixed/lift-openid/src/main/scala/net/liftweb/openid/
OpenId.scala 2009-08-17 01:43:46.000000000 +0300
@@ -267,7 +267,7 @@
// retrieve the previously stored discovery information
val discovered = httpReq.session.attribute("openid-disc") match {
- case Full(d: DiscoveryInformation)=> d
+ case d: DiscoveryInformation=> d
case _ => throw ResponseShortcutException.redirect("/")
}
@@ -275,7 +275,7 @@
var receivingURL = httpReq.url
val queryString = httpReq.queryString openOr ""
if (queryString != null && queryString.length() > 0) {
- receivingURL += "?" + httpReq.queryString;
+ receivingURL += "?" + queryString;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---