Vassil
unread,Aug 16, 2009, 6:48:15 PM8/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
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;
}