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

[BUG] open_basedir Issue with IndexQueueModule.css #3897

Closed
DanielSiepmann opened this issue Nov 28, 2023 · 0 comments · Fixed by #3898
Closed

[BUG] open_basedir Issue with IndexQueueModule.css #3897

DanielSiepmann opened this issue Nov 28, 2023 · 0 comments · Fixed by #3898

Comments

@DanielSiepmann
Copy link
Contributor

Describe the bug
The backend module for queue does not load the css file in a proper way.

To Reproduce
Steps to reproduce the behaviour:

  1. Enable open_basedir restriction
  2. Go to the backend module for queues
  3. Check the error log and check loaded CSS files.

Expected behavior
No error should be shown, the css file should be loaded with a timestamp, if $GLOBALS['TYPO3_CONF_VARS']['BE']['versionNumberInFilename'] is configured.

Used versions (please complete the following information):

  • TYPO3 Version: 11.5.33
  • Browser: Firefox
  • EXT:solr Version: 11.5.3
  • Used Apache Solr Version: xxx
  • PHP Version: 8.1.25
  • MySQL Version: xxx

Additional context
The ViewHelper in use has wrong documentation. One should use EXT: syntax in order to allow proper handling by TYPO3 which will properly add timestamp if configured and passes open_basedir checks.

I'll provide a PR soon.

dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this issue Dec 5, 2023
The path should use EXT: syntax.
That way TYPO3 can properly handle the file and add version numbers and
check for existence.

Resolves: TYPO3-Solr#3897
Ports: TYPO3-Solr#3898
dkd-kaehm pushed a commit that referenced this issue Dec 6, 2023
The path should use EXT: syntax.
That way TYPO3 can properly handle the file and add version numbers and
check for existence.

Resolves: #3897
dkd-kaehm pushed a commit that referenced this issue Dec 6, 2023
The path should use EXT: syntax.
That way TYPO3 can properly handle the file and add version numbers and
check for existence.

Resolves: #3897
Ports: #3898
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

Successfully merging a pull request may close this issue.

1 participant