Skip to content

Commit

Permalink
Merge pull request #47805 from nextcloud/fix/xml-exception-template
Browse files Browse the repository at this point in the history
fix: Replace conflicting tags in `xml_exception` template
  • Loading branch information
susnux authored Sep 9, 2024
2 parents 0f73219 + 6198138 commit 00712c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/xml_exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ function print_exception(Throwable $e, \OCP\IL10N $l): void {
}
}

print_unescaped('<?xml version="1.0" encoding="utf-8"?>' . "\n");
?>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception><?php p($l->t('Internal Server Error')) ?></s:exception>
<s:message>
Expand Down

0 comments on commit 00712c2

Please sign in to comment.