Uploaded image for project: 'Google Sitemap (closed)'
  1. Google Sitemap (closed)
  2. MGNLGS-113

ContentType of XML-Sitemap is text/html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 2.3.2
    • None

    Description

      Hello,

      we discovered after upgrading to Magnolia 5.4 that the content type of XML sitemaps is set to text/html instead of application/xml.
      This is caused by the info.magnolia.rendering.renderer.FreemarkerRenderer#onRender method.

      I can't reproduce it on the demo instance because I get there an info.magnolia.registry.RegistrationException from the rendering filter.

      Greetings,
      Fabian

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                fabian.schneider Fabian Schneider
                Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: