We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just a small heads up: TYPO3 12.1 introduces a new feature in TypoScript setup to enforce absolute URLs. config.forceAbsoluteUrls = 1
config.forceAbsoluteUrls = 1
When loading fonts from file storage, there may be issues with this line, as getPublicUrl() then returns an absolute path: https://github.com/maikschneider/bw_captcha/blob/development/Classes/Utility/CaptchaBuilderUtility.php#L102
getPublicUrl()
$randomFontFile = $resourceFactory->retrieveFileOrFolderObject($fontFiles[0])?->getPublicUrl() ?? ''; $randomFontFile = Environment::getPublicPath() . $randomFontFile;
We're currently enabling this feature, but are not using font files from storage. I just came across this when checking for side effects.
The text was updated successfully, but these errors were encountered:
Hey @saitho, thank you very much for the warning! I will definitely look into this and implement a check. Cheers!
Sorry, something went wrong.
No branches or pull requests
Just a small heads up: TYPO3 12.1 introduces a new feature in TypoScript setup to enforce absolute URLs.
config.forceAbsoluteUrls = 1
When loading fonts from file storage, there may be issues with this line, as
getPublicUrl()
then returns an absolute path: https://github.com/maikschneider/bw_captcha/blob/development/Classes/Utility/CaptchaBuilderUtility.php#L102We're currently enabling this feature, but are not using font files from storage. I just came across this when checking for side effects.
The text was updated successfully, but these errors were encountered: