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
4c16e1f5
Commit
4c16e1f5
authored
Aug 13, 2010
by
haemmer
Browse files
Fixed a bug where the state of the Remember Session checkbox was not used correctly
parent
fdd36ec8
Changes
2
Hide whitespace changes
Inline
Side-by-side
README
View file @
4c16e1f5
...
...
@@ -250,7 +250,8 @@ flexible when it comes to ordering the category and IdP entries.
Changes:
1.13 - Added Favourite IdPs to Embedded WAYF
- Fixed Remember Selection preference
- Fixed a bug where the state of the "Remember for session" checkbox was
not remembered.
1.12.2 - Fixed a XSS security vulnerability
- Fixed an error in function appendValueToIdPArray
Thanks to Martins Purins from Latvijas Universitates for reporting this
...
...
templates.php
View file @
4c16e1f5
...
...
@@ -218,7 +218,7 @@ function printEmbeddedWAYFScript(){
$loggedInString
=
getLocalString
(
'logged_in'
);
$configurationScriptUrl
=
preg_replace
(
'/embedded-wayf.js/'
,
'embedded-wayf.js/snippet.html'
,
'https://'
.
$_SERVER
[
'SERVER_NAME'
]
.
$_SERVER
[
'REQUEST_URI'
]);
$utcTime
=
time
();
$checkedBool
=
(
isset
(
$_COOKIE
[
$redirectCookieName
])
&&
!
empty
(
$_COOKIE
[
$redirectCookieName
]))
?
'checked="checked"'
:
''
;
$checkedBool
=
(
isset
(
$_COOKIE
[
$redirect
State
CookieName
])
&&
!
empty
(
$_COOKIE
[
$redirect
State
CookieName
]))
?
'checked="checked"'
:
''
;
$rememberSelectionText
=
addslashes
(
getLocalString
(
'remember_selection'
));
$loginString
=
addslashes
(
getLocalString
(
'login'
));
$selectIdPString
=
addslashes
(
getLocalString
(
'select_idp'
));
...
...
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