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

ContentType of XML-Sitemap is text/html

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: