Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
792e4861
Commit
792e4861
authored
Jun 03, 2011
by
haemmer
Browse files
Restructured some white space
parent
b231ef48
Changes
1
Hide whitespace changes
Inline
Side-by-side
WAYF
View file @
792e4861
...
...
@@ -487,8 +487,9 @@ if (
$invalidstring
=
preg_replace
(
'/&/'
,
"&
\n
"
,
$invalidstring
);
if
(
$invalidstring
==
''
)
$invalidstring
=
getLocalString
(
'no_arguments'
);
$message
=
getLocalString
(
'arguments_missing'
)
.
'<pre><code>'
.
htmlentities
(
$invalidstring
)
.
'</code></pre></p>
<p>'
.
getLocalString
(
'valid_request_description'
);
$message
=
getLocalString
(
'arguments_missing'
)
.
'<pre>'
;
$message
.
=
'<code>'
.
htmlentities
(
$invalidstring
)
.
'</code></pre></p>'
;
$message
.
=
'<p>'
.
getLocalString
(
'valid_request_description'
);
printError
(
$message
);
exit
;
}
elseif
(
...
...
@@ -501,8 +502,9 @@ if (
$invalidstring
=
preg_replace
(
'/&/'
,
"&
\n
"
,
$invalidstring
);
if
(
$invalidstring
==
''
)
$invalidstring
=
getLocalString
(
'no_arguments'
);
$message
=
getLocalString
(
'arguments_missing'
)
.
'<pre><code>'
.
htmlentities
(
$invalidstring
)
.
'</code></pre></p>
<p>'
.
getLocalString
(
'valid_saml2_request_description'
);
$message
=
getLocalString
(
'arguments_missing'
)
.
'</p><pre>'
;
$message
.
=
'<code>'
.
htmlentities
(
$invalidstring
)
.
'</code></pre>'
;
$message
.
=
'<p>'
.
getLocalString
(
'valid_saml2_request_description'
);
printError
(
$message
);
exit
;
...
...
@@ -647,7 +649,10 @@ if (
}
elseif
(
(
isset
(
$_POST
[
'user_idp'
])
&&
checkIDP
(
$_POST
[
'user_idp'
]))
||
(
isset
(
$_COOKIE
[
$redirectCookieName
])
&&
checkIDP
(
$_COOKIE
[
$redirectCookieName
],
false
))
||
(
isset
(
$_COOKIE
[
$redirectCookieName
])
&&
checkIDP
(
$_COOKIE
[
$redirectCookieName
],
false
)
)
){
// Show confirmatin notice
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment