You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using jumpurl with TYPO3 7.6 it is not possible to get redirected to an external URL when jumpurl is enabled. File links on the other hand are working perfectly (with setting "secure = 1").
This is the exception thrown by TYPO3 for an external link:
#1294585194: The requested file was not allowed to be accessed through Jump URL. The path or file is not allowed.
I have added an additional condition to the JumpUrlProcessor::isEnabled() function on my own checking for links with context UrlProcessorInterface::CONTEXT_EXTERNAL and a globally disabled new option "config.jumpurl_external_disable". Calling this function with another parameter "url" from the process() function it is possible to disable the generation of jumpurl URLs for external links completely:
// If we have an external link and jumpurl is globally disabled for external links we disable it
if (
$context === UrlProcessorInterface::CONTEXT_EXTERNAL
&& $this->getTypoScriptFrontendController()->config['config']['jumpurl_external_disable']
) {
$enabled = false;
}
Would it be possible to add this new configuration parameter and functionality in a future version?
The text was updated successfully, but these errors were encountered:
Using jumpurl with TYPO3 7.6 it is not possible to get redirected to an external URL when jumpurl is enabled. File links on the other hand are working perfectly (with setting "secure = 1").
This is the exception thrown by TYPO3 for an external link:
#1294585194: The requested file was not allowed to be accessed through Jump URL. The path or file is not allowed.
I have added an additional condition to the JumpUrlProcessor::isEnabled() function on my own checking for links with context UrlProcessorInterface::CONTEXT_EXTERNAL and a globally disabled new option "config.jumpurl_external_disable". Calling this function with another parameter "url" from the process() function it is possible to disable the generation of jumpurl URLs for external links completely:
Would it be possible to add this new configuration parameter and functionality in a future version?
The text was updated successfully, but these errors were encountered: