Skip to content
Snippets Groups Projects
Commit 2254e2f1 authored by Markus Klein's avatar Markus Klein Committed by Benni Mack
Browse files

[BUGFIX] Include RSA JS in FE with relative URL

Releases: master, 8.7
Resolves: #80952
Change-Id: I94a5124a16c9ad9893c1c2346967089fd16ad142
Reviewed-on: https://review.typo3.org/52112


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMario T <typoser@trashmail.de>
Tested-by: default avatarMario T <typoser@trashmail.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent a2bef2a1
Branches
Tags
No related merge requests found
......@@ -61,7 +61,7 @@ class RsaEncryptionEncoder implements SingletonInterface
$pageRenderer->loadRequireJsModule('TYPO3/CMS/Rsaauth/RsaEncryptionModule');
} else {
// Register ajax handler url
$code = 'var TYPO3RsaEncryptionPublicKeyUrl = ' . GeneralUtility::quoteJSvalue(GeneralUtility::getIndpEnv('TYPO3_SITE_URL') . 'index.php?eID=RsaPublicKeyGenerationController') . ';';
$code = 'var TYPO3RsaEncryptionPublicKeyUrl = ' . GeneralUtility::quoteJSvalue(GeneralUtility::getIndpEnv('TYPO3_SITE_PATH') . 'index.php?eID=RsaPublicKeyGenerationController') . ';';
$pageRenderer->addJsInlineCode('TYPO3RsaEncryptionPublicKeyUrl', $code);
$javascriptPath = ExtensionManagementUtility::siteRelPath('rsaauth') . 'Resources/Public/JavaScript/';
if (!$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['debug']) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment