A combination of #9665 and the HTML5 declarations for the core templates has caused the keepalive behavior to misbehave in the backend. Unencoding the ampersand makes it work again.
A request to administrator/index.php?option=com_ajax&format=json
with a 200 response
A request to administrator/index.php?option=com_ajax&format=json
with a 404 response
Checking $doc->isHtml5()
isn't enough here because the core templates set this flag when they get rendered, long after the component is rendered and calls this behavior.
More info see, for instance, http://javascript.about.com/library/blxhtml.htm
so first let's correct keepalive url.
And them we could try to fix xml errors
actually the CDATA is already in JDocument html render and it depends on the mimetype. This seems a correct behaviour IMO.
so IMO this should be closed.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-01 05:04:43 |
Closed_By | ⇒ | zero-24 |
Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/10697
that i know of there is no html error in having keepalive without the
&
in html5 ...For render as XHTML the problem is not the
&
, the problem is that for correct xhtml rendereing the scipts should be insideCDATA
Example:
This does gives error in w3c validator
This doesn't gives error in w3c validator