Skip to content
Snippets Groups Projects
Commit 6cbd8922 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Set enctype

Without proper enctype, every space in $wresult will be converted to a +
parent 09d38468
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ class sspmod_adfs_IdP_ADFS {
public static function ADFS_PostResponse($url, $wresult, $wctx) {
print '
<body onload="document.forms[0].submit()"><form method="post" action="' . $url . '">
<body onload="document.forms[0].submit()"><form method="post" action="' . $url . '" enctype="multipart/form-data">
<input type="hidden" name="wa" value="wsignin1.0">
<input type="hidden" name="wresult" value="' . htmlspecialchars($wresult) . '">
<input type="hidden" name="wctx" value="' . htmlspecialchars($wctx) . '">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment