Skip to content
Snippets Groups Projects
Commit 6f00abf3 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Adding invisible html in browser/post

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@9 44740490-163a-0410-bde0-09ae8108e29a
parent cd54f420
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,16 @@ class SimpleSAML_Bindings_Shib13_HTTPPost { ...@@ -135,6 +135,16 @@ class SimpleSAML_Bindings_Shib13_HTTPPost {
# openssl req -new -key server.key -out server.csr # openssl req -new -key server.key -out server.csr
# openssl x509 -req -days 60 -in server.csr -signkey server.key -out server.crt # openssl x509 -req -days 60 -in server.csr -signkey server.key -out server.crt
$p = new SimpleSAML_XHTML_Template($this->configuration, 'post.php');
$p->data['RelayStateName'] = 'TARGET';
$p->data['RelayState'] = $relayState;
$p->data['destination'] = $destination;
$p->data['response'] = base64_encode($response);
$p->show();
/*
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
...@@ -165,6 +175,7 @@ class SimpleSAML_Bindings_Shib13_HTTPPost { ...@@ -165,6 +175,7 @@ class SimpleSAML_Bindings_Shib13_HTTPPost {
</body> </body>
</html>'; </html>';
*/
} }
......
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