Skip to content

Encoding Issue for sitemapindex.xml #188

@BjarneWittlieb

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");

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