Gossamer Forum
Home : Products : Others : Gossamer Community :

LSQL auth => wrong URL passed

Quote Reply
LSQL auth => wrong URL passed
GComm v0.9.0 beta1 - LSQL v2.1.2

When logging in LSQL using Login link (http://site/cgi-bin/lsql212/user.cgi?d=1) will pass wrong URL to community.cgi by the LSQL auth plugin.
The passed URL will be the following, however d=1 is used: community.cgi?url=http://site/lsql212/pages
And after successful login, will redirected to this page.

Alex, you use
Code:
print $IN->redirect( comm_login_url( return_to => $CFG->{build_root_url} ) );
in handle_login in LSQL auth plugin, while this is a static value.
It always returns the same path, instead using dynamic OR static path...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] LSQL auth => wrong URL passed In reply to
Hi,

Yes, this is a known problem. We will fix this up to return to the page the user was on before they clicked on user.cgi.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [webmaster33] LSQL auth => wrong URL passed In reply to
When logging out from GLinks, the User remains within GCommunity. How can I have them returned to the source site?
Quote Reply
Re: [Alba] LSQL auth => wrong URL passed In reply to
You should ask Alex if the problem got fixed.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Apr 26, 2005, 1:48 AM