Fossil SCM
Fossil should deliver application/xhtml+xml when appropriate (with patch)
Closed
9fbc3fad8a30180…
· opened 14 years, 11 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Overcome_By_Events
- Subsystem
- —
- Created
- April 22, 2011 3:10 a.m.
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.
Comments (1)
system
2 years, 2 months ago
Closing as part of periodic cleanup.