Commit 49b53cb3 authored by Yadd's avatar Yadd
Browse files

Closes: #313589 (Port not taken into account in CDA)

parent 8b4c6288
......@@ -34,10 +34,11 @@ sub run ($$) {
);
$apacheRequest->args($args);
my $host = $apacheRequest->get_server_name();
my $portString = $port || $apacheRequest->get_server_port();
lmSetErrHeaderOut( $apacheRequest,
'Location' => "http"
. ( $https ? 's' : '' )
. "://$host"
. "://$host:$portString"
. $apacheRequest->uri
. ( $apacheRequest->args ? "?" . $apacheRequest->args : "" ) );
$host =~ s/^[^\.]+\.(.*\..*$)/$1/;
......@@ -106,7 +107,7 @@ configuration reload, so you don't need to restart Apache at each change :
This library inherit from L<Lemonldap::NG::Handler::SharedConf> and add the
capability to control users that are authenticated with a
L<Lemonldap::NG::portal::CDA> CGI in another domain.
L<Lemonldap::NG::Portal::CDA> CGI in another domain.
=head2 EXPORT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment