Skip to content

Encoding Issue for sitemapindex.xml #188

Description

@BjarneWittlieb

The SitemapIndex Controller does not specify an encoding and when visiting the sitemapindex in google chrome, a 500 response is generated.

Line 64 in GetaSitemapIndexController should be adjusted as follows:
return new FileContentResult(sitemapIndexData, "text/xml"); => return new FileContentResult(sitemapIndexData, "text/xml; charset=utf-8");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions