MantisBT - CDash | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006604 | CDash | public | 2008-03-14 00:15 | 2008-03-14 12:02 | |
Reporter | Stuart Herring | ||||
Assigned To | Julien Jomier | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0006604: <![CDATA[ in inline javascript causing problems. | ||||
Description | in pages with inline javascript, the contents of the output HTML contains CDATA declarations in the body of the <script> tag. eg: <script> <![CDATA[ function doSubmit() { document.getElementById('url').value = 'catchbot'; } ]]> </script> If the browser doesn't detect that the document is XML (due to it not being served as text/xml), then it tries to send the <![CDATA[ string to the Javascript interpreter directly, causing an error, and resulting in the script not being parsed. This is most noticeable with the registration form, as it results in the Bot check failing. A solution to this is suggested in the comments for the transformToXML documentation (http://au2.php.net/manual/en/function.xsl-xsltprocessor-transform-to-xml.php#72519 [^]) Attached is a patch that implements that suggestion. | ||||
Steps To Reproduce | |||||
Additional Information | cdash r718 php 5.2.5, Linux | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | cdash-script.diff (6,388) 2008-03-14 00:15 https://public.kitware.com/Bug/file/1353/cdash-script.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-03-14 00:15 | Stuart Herring | New Issue | |||
2008-03-14 00:15 | Stuart Herring | File Added: cdash-script.diff | |||
2008-03-14 12:00 | Julien Jomier | Status | new => assigned | ||
2008-03-14 12:00 | Julien Jomier | Assigned To | => Julien Jomier | ||
2008-03-14 12:02 | Julien Jomier | Status | assigned => closed | ||
2008-03-14 12:02 | Julien Jomier | Note Added: 0010805 | |||
2008-03-14 12:02 | Julien Jomier | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|