[Pkg-javascript-commits] [dojo] 84/88: Fix dojo/request XML test for people that still have short_open_tag turned on in PHP. Fixes #15631. Backport to 1.8

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.8.5
in repository dojo.

commit bbf50e9221455105a951ce67673f5de66e8ebc94
Author: Colin Snover <github.com at zetafleet.com>
Date:   Thu Apr 25 03:10:29 2013 +0000

    Fix dojo/request XML test for people that still have short_open_tag turned on in PHP. Fixes #15631.
    Backport to 1.8
    
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@31341 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 tests/request/xhrXml.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/request/xhrXml.php b/tests/request/xhrXml.php
index 75fa3d4..2ca3589 100644
--- a/tests/request/xhrXml.php
+++ b/tests/request/xhrXml.php
@@ -5,5 +5,5 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
 header("Cache-Control: no-cache, must-revalidate");
 header("Pragma: no-cache");
 header("Content-type: application/xml");
-?><?xml version="1.0" encoding="UTF-8" ?>
+?><?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
 <foo><bar baz='thonk'>blarg</bar><bar>blah</bar></foo>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list