KEYCLOAK-12173 removed escaping of '&'

This commit is contained in:
Erik Jan de Wit 2020-03-20 10:27:22 +01:00 committed by Stan Silvert
parent 4fa29948b6
commit 3cdfb422ad
2 changed files with 2 additions and 4 deletions

View file

@ -163,8 +163,6 @@ public class ReferrerTest extends AbstractAccountTest {
// we need to use some page which host exists Firefox is throwing exceptions like crazy if we try to load // we need to use some page which host exists Firefox is throwing exceptions like crazy if we try to load
// a page on a non-existing host, like e.g. http://non-existing-server/ // a page on a non-existing host, like e.g. http://non-existing-server/
// also we need to do this here as getAuthServerRoot is not ready when firing this class' constructor // also we need to do this here as getAuthServerRoot is not ready when firing this class' constructor
return getAuthServerRoot() + "auth/non-existing-page/?foo=bar"; return getAuthServerRoot() + "auth/non-existing-page/?foo=bar&bar=foo#anchor";
// TODO replace ^^ with the following once KEYCLOAK-12173 and KEYCLOAK-12189 are resolved
// return getAuthServerRoot() + "auth/non-existing-page/?foo=bar&bar=foo#anchor";
} }
} }

View file

@ -44,7 +44,7 @@
<#if referrer??> <#if referrer??>
var referrer = '${referrer}'; var referrer = '${referrer}';
var referrerName = '${referrerName}'; var referrerName = '${referrerName}';
var referrerUri = '${referrer_uri}'; var referrerUri = '${referrer_uri?no_esc}';
</#if> </#if>
<#if msg??> <#if msg??>