Project

General

Profile

Actions

Bug #90368

closed

seo-extension: xml-sitemap refers for xsl-file to /typo3/ folder in frontend context

Added by Peter Linzenkirchner over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2020-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

in file
/typo3/sysext/seo/Classes/XmlSitemap/XmlSitemapRenderer.php
the path to the xsl file is hard coded:

public function __construct()
{
    $this->configuration = $this->getConfiguration();
    $this->view = $this->getStandaloneView();
    $this->view->assign(
        'xslFile',
        PathUtility::stripPathSitePrefix(
            ExtensionManagementUtility::extPath('seo', 'Resources/Public/CSS/Sitemap.xsl')
        )
    );
}

result is that the xml sitemap refers to a xsl file which locates in the /typo3/sysext/ folder in frontend context. Many installations protect the typo3 folder from the public web with passwords. This results in an error 500 when the sitemap is called.

In my opinion a direct call to the /typo3/ folder in frontend context should be considered as a bug.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #88147: Configurable path to Resources/Public/CSS/Sitemap.xsl in SEO moduleClosed2019-04-15

Actions
Related to TYPO3 Core - Bug #102974: ext:seo: Path to Sitemap.xsl is located in path "/typo3/"Closed2024-01-29

Actions
Actions #1

Updated by Guido Schmechel over 4 years ago

  • Related to Feature #88147: Configurable path to Resources/Public/CSS/Sitemap.xsl in SEO module added
Actions #2

Updated by Stephan Großberndt over 4 years ago

  • Subject changed from seo-extension: xml-sitemap refers for xls-file to /typo3/ folder in frontend context to seo-extension: xml-sitemap refers for xsl-file to /typo3/ folder in frontend context
  • Description updated (diff)
Actions #3

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Closed

thanks for creating the issue!

this has been fixed with #88147 which is available in next 10x release.

Actions #4

Updated by Georg Ringer 4 months ago

  • Related to Bug #102974: ext:seo: Path to Sitemap.xsl is located in path "/typo3/" added
Actions

Also available in: Atom PDF