Skip to content

Semicolon inserted in xml header #3

Description

@loftux

The rss xml output gets a ; in the xml header, thus making the xml invalid.
The problem is that the end question mark int the string is output with ; ?>
You can use this code in modules/Rss/views/rss.php to fix it

<?php
 header('Content-Type:application/xml');
?>
<?php
$questionmark = "?";
echo "<".$questionmark."xml version=\"1.0\" encoding=\"utf-8\"".$questionmark.">";
?>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions