diff options
author | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-07 09:00:22 +0100 |
---|---|---|
committer | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-07 11:01:13 +0100 |
commit | a017ebff96d2cc12943801c933e5733b4e827b3b (patch) | |
tree | 3016eed0fe5491e6dd7a377d7b3684298d12d80b /basicConfig/templates/pvp2_post_binding.html | |
parent | 514f99284299882ce9b3e7741094eb55561b503e (diff) | |
download | National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.gz National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.bz2 National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.zip |
Use relative paths in templates to enable preview in browser
If Thymeleaf is active (i.e. the template is rendered by the Webapp),
the path gets replaced anyway.
Diffstat (limited to 'basicConfig/templates/pvp2_post_binding.html')
-rw-r--r-- | basicConfig/templates/pvp2_post_binding.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basicConfig/templates/pvp2_post_binding.html b/basicConfig/templates/pvp2_post_binding.html index 90858237..06b9b494 100644 --- a/basicConfig/templates/pvp2_post_binding.html +++ b/basicConfig/templates/pvp2_post_binding.html @@ -6,7 +6,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> - <script src="$contextPath/autocommit.js"></script> + <script src="/autocommit.js"></script> </head> <body> <noscript> @@ -21,7 +21,7 @@ <form action="${action}" method="post" target="_parent"> <div> - #if($RelayState) <input type="hidden" name="RelayState" value="${RelayState}"/> #end + #if($RelayState) <input type="hidden" name="RelayState" value="${RelayState}"/> #end #if($SAMLRequest) <input type="hidden" name="SAMLRequest" value="${SAMLRequest}" /> #end #if($SAMLResponse) <input type="hidden" name="SAMLResponse" value="${SAMLResponse}" /> #end </div> |