parent
73c8a1a8d7
commit
3575e0ef23
|
@ -47,6 +47,10 @@ sub changeUrldc {
|
|||
|
||||
$self->p->updateSession( $req, $cdaInfos, $cdaSession->id );
|
||||
|
||||
# We are about to redirect the user to the CDA application,
|
||||
# dismiss any previously stored redirections (#1650)
|
||||
delete $req->{pdata}->{_url};
|
||||
|
||||
$req->{urldc} .=
|
||||
( $urldc =~ /\?/ ? '&' : '?' )
|
||||
. $self->{conf}->{cookieName} . "cda="
|
||||
|
|
|
@ -51,6 +51,12 @@ count(1);
|
|||
my ($query) =
|
||||
expectRedirection( $res, qr#^http://test.example.org/\?(lemonldapcda=.*)$# );
|
||||
|
||||
# Bug #1650 made the portal store an _url in pdata at this step
|
||||
my $cookies = getCookies($res);
|
||||
|
||||
ok( !defined( $cookies->{lemonldappdata} ), " Make sure no pdata is returned" );
|
||||
count(1);
|
||||
|
||||
# Handler part
|
||||
use_ok('Lemonldap::NG::Handler::Server');
|
||||
use_ok('Lemonldap::NG::Common::PSGI::Cli::Lib');
|
||||
|
|
Loading…
Reference in New Issue
Block a user