[cpif] r322 - trunk/frontend-web
svn at argo.es
svn at argo.es
Wed Aug 1 16:15:30 CEST 2007
Author: jcea
Date: Wed Aug 1 16:15:29 2007
New Revision: 322
Log:
Gestion correcta de OpenID cuando entramos a traves
de un proxy apache, por ejemplo.
Modified:
trunk/frontend-web/url_LOGIN.py
Modified: trunk/frontend-web/url_LOGIN.py
==============================================================================
--- trunk/frontend-web/url_LOGIN.py (original)
+++ trunk/frontend-web/url_LOGIN.py Wed Aug 1 16:15:29 2007
@@ -1,6 +1,6 @@
# $Id$
-from globales import monitor,openid_support
+from globales import monitor,openid_support,base_url
def gestiona_url(handler,path,usuario) :
import database
@@ -44,7 +44,7 @@
if get_openid(usuario_form,OpenID_form) :
from openid.consumer import consumer
from url_LOGIN_OpenID import sessions,create_new_state
- servidor="http://"+handler.headers["host"]+"/"
+ servidor=base_url+"/"
rnd,sesion=create_new_state(usuario_form,"/"+"/".join(path))
oidconsumer=consumer.Consumer(sesion,sessions)
try :
More information about the cpif
mailing list