-Hans
> org.verisign.joid.server.OpenIdServlet.doQuery (OpenIdServlet.java:108)
>
>On Dec 7 2007, 10:44 am, "Alex Little" <alextlit...@googlemail.com>
>wrote:
>
>
>>Hi Hans,
>>
>>sure - see below for the diff patch (wasn't sure if this list accepted
>>attachments) :-)
>>
>>
>
>this patch seems to me makes a lot of sense, but hasn't been applied
>yet. Can anyone apply this?
>
>
whereas I would suggest to slight enhance it
Index: examples/server/login.jsp
===================================================================
--- examples/server/login.jsp (Revision 80)
+++ examples/server/login.jsp (Arbeitskopie)
@@ -18,6 +18,10 @@
if (ret == null) {
ret = request.getParameter(s);
}
+ if (ret == null) {
+ HttpSession session = request.getSession();
+ ret = (String) session.getAttribute(s);
+ }
return ret;
}
@@ -105,7 +109,7 @@
value="<%=getParam(request, "openid.realm")%>"/>
<p>
- Allow access to: <%=getParam(request, "openid.realm")%>?
+ Allow access to: <a href="<%=getParam(request,
"openid.realm")%>"><%=getParam(request, "openid.realm")%></a>?
</p>
<table border="0">
<tr>
@@ -135,4 +139,4 @@
</p>
</body>
because otherwise the question mark could be confused with an empty
query string
Cheers
Michael
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael...@wyona.com, mi...@apache.org
+41 44 272 91 61