Skip to content
New issue

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

Mention that some settings can't be configured via the BE and not be found in Global Configuration settings and in $GLOBALS['TYPO3_CONF_VARS'] etc. #2265

Open
sypets opened this issue Oct 10, 2022 · 0 comments

Comments

@sypets
Copy link
Contributor

sypets commented Oct 10, 2022

Update Oct 10 / 2022 - modfied description some more.


Specifically, the setting fileDenyPattern can not be found in:

  • typo3/sysext/core/Configuration/DefaultConfiguration.php
  • typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
  • Global Configuration Settings in BE ( "Configure Installation-Wide Options"), which also means you can't change it via the BE
  • LocalConfiguration.php
  • BE: Configuration | TYPO3_CONF_VARS

If this setting does not exist, the default is just used, so this seems to be correct and desired behaviour. But this can make it confusing, because the setting does exist, is documented, but you can't see it where you expect it.

Also $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType'] which is already handled in #3772

Suggestion

For now, it might be helpful to just add a note about that in the documentation: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Configuration/Typo3ConfVars/BE.html#filedenypattern

further remarks

  • in any case, since it is now a regex and this could easily be messed up, it is probably a good decision to not offer it in the Configuration dialog IMHO

Changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant