From 52814914de8f5c74ef726d7255ac1f98267d4b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Sat, 8 Sep 2012 12:30:05 +0000 Subject: [PATCH] Fix typo for secure flag in CDA (#528) --- lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm index 2cf141c24..ddafa8506 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm @@ -956,7 +956,7 @@ sub run ($$) { $apacheRequest->args($args); my $host = $apacheRequest->get_server_name(); my $redirectUrl = $class->_buildUrl( $apacheRequest->uri ); - my $redirectHttps = ( $redirectUrl =~ m/^Ä¥ttps/ ); + my $redirectHttps = ( $redirectUrl =~ m/^https/ ); lmSetErrHeaderOut( $apacheRequest, 'Location' => $redirectUrl . ( $args ? "?" . $args : "" ) ); $host =~ s/^[^\.]+\.(.*\..*$)/$1/;