Fossil

View Ticket
Login

View Ticket

Ticket Hash: 9fbc3fad8a30180effa7b55fc496e28987c6d98f
Title: Fossil should deliver application/xhtml+xml when appropriate (with patch)
Status: Closed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Overcome_By_Events
Last Modified: 2024-01-31 05:13:02
Version Found In: 2011-04-19 20:30:31 085b6a1bbb
Description:
Fossil currently always delivers web page content as text/html to the browser.

Following the guidelines in http://www.w3.org/TR/xhtml-media-types/ the attached patch delivers the application/xhtml+xml content type instead when appropriate.

This will allow the use of the <![CDATA[ ... anything not escaped ... ]]> construct in future fossil output which should facilitate embedding arbitrary command output into the returned web pages (such as for rebuild and sync when used from the web ui).

NOTE: The patch attached to ticket [5ff2043c96] should also be applied or else invalid xhtml can be sent to the browser.

User Comments:
added on 2024-01-31 05:13:02:
Closing as part of periodic cleanup.

Attachments: