We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39f2455 commit 07884c2Copy full SHA for 07884c2
1 file changed
tests/12login/02cas.pl
@@ -1,3 +1,5 @@
1
+use URI::Escape;
2
+
3
sub wait_for_cas_request
4
{
5
my ( $expected_path, %params ) = @_;
@@ -109,12 +111,12 @@ sub wait_for_cas_request
109
111
do => sub {
110
112
my ( $http, $homeserver_info ) = @_;
113
- my $HS_URI = $homeserver_info->client_location;
-
114
# the redirectUrl we send to /login/cas/redirect, which is where we
115
# hope to get redirected back to
116
my $REDIRECT_URL = "https://client?p=http%3A%2F%2Fserver";
117
118
+ my $HS_URI = $homeserver_info->client_location . "/_matrix/client/r0/login/cas/ticket?redirectUrl=" . uri_escape($REDIRECT_URL);
119
120
# the ticket our mocked-up CAS server "generates"
121
my $CAS_TICKET = "goldenticket";
122
0 commit comments