diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-11-27 12:11:45 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-11-27 15:45:21 +0100 |
commit | 366c463274f3ca06d500c59c0839feb225b4e0b5 (patch) | |
tree | 8130bfea98bf99a36f172f4aa89c8a1ff843c52d /id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html | |
parent | 868d6e587cb262683a658fdbd56bb752913638b4 (diff) | |
download | moa-id-spss-366c463274f3ca06d500c59c0839feb225b4e0b5.tar.gz moa-id-spss-366c463274f3ca06d500c59c0839feb225b4e0b5.tar.bz2 moa-id-spss-366c463274f3ca06d500c59c0839feb225b4e0b5.zip |
add escaping on some places
Diffstat (limited to 'id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html')
-rw-r--r-- | id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html b/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html index 261e19a33..f54484307 100644 --- a/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html +++ b/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/iframeLBKUdetect.html @@ -9,7 +9,6 @@ bkuport = (bkuprot == "https:" ? 3496 : 3495); bkupath = "https-security-layer-request"; bkuurl = bkuprot + "//" + bkuhost + ":" + bkuport + "/" + bkupath; - baseurl = location.href.substr(0, location.href.lastIndexOf("/")); //--> </script> </head> @@ -20,7 +19,7 @@ parent.setBKUAvailable(false); document.write('<form name="bkudetectform" method="POST" target="bkudetect" action="' + bkuurl + '" enctype="application/x-www-form-urlencoded">'); document.write('<input type="hidden" name="XMLRequest" value="<?xml version="1.0" encoding="UTF-8"?><NullOperationRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"/>" />'); - document.write('<input type="hidden" name="RedirectURL" value="' + baseurl + '/iframeLBKUdetected.html"/>'); + document.write('<input type="hidden" name="RedirectURL" value="' + $contextPath + '/iframeLBKUdetected.html"/>'); document.write('</form>'); try { document.bkudetectform.submit(); |