bugLibreJS - Bugs: bug #58587, FSF donation page broken by...

 
 

bug #58587: FSF donation page broken by "CDATA"?

Submitted by:  Andrew Engelbrecht <sudoman>
Submitted on:  Tue 16 Jun 2020 09:01:22 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 16 Jun 2020 09:01:22 PM UTC, original submission:  

https://my.fsf.org/donate

"CDATA" is sometimes necessary for XHTML code, but not HTML 5. Despite this, Drupal sometimes marks code with "CDATA" code.

<script type="text/javascript">
<!--//--><![CDATA[//><!--
/**
* @licstart The following is the entire license notice for the JavaScript
* code in this page.
...
* @licend The above is the entire license notice for the JavaScript code
* in this page.
*/

//--><!]]>
</script>

my.fsf.org is using the librejs Drupal plugin, but its license code now contains two levels of commenting, which appears to break LibreJS' detection of the license for code on that page.

Andrew Engelbrecht <sudoman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sudoman (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7