Merge pull request #47805 from nextcloud/fix/xml-exception-template

fix: Replace conflicting tags in `xml_exception` template
This commit is contained in:
Ferdinand Thiessen 2024-09-09 13:44:48 +02:00 committed by GitHub
commit 00712c22b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>