Permalink
Browse files

shibboleth authentication settings: MDL-20524 preserves HTML entities…

… in text fields
  • Loading branch information...
1 parent 0674895 commit cd1ea5d65684be84b90b597175d4db086dc3d5c2 exe-cutor committed Oct 9, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/shibboleth/config.html
View
4 auth/shibboleth/config.html
@@ -66,7 +66,7 @@
https://another.idp-id.com/shibboleth, Other Example Organization, /Shibboleth.sso/DS/SWITCHaai
urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/SWITCHaai';
} else {
- echo $config->organization_selection;
+ echo htmlentities($config->organization_selection);
}
?>
</textarea>
@@ -110,7 +110,7 @@
<td>
<input name="login_name" type="text" size="30" value="<?php
if ( isset($config->login_name) and !empty($config->login_name)){
- echo $config->login_name;
+ echo htmlentities($config->login_name);
} else {
echo 'Shibboleth Login';
}

0 comments on commit cd1ea5d

Please sign in to comment.