mraible opened a new pull request, #350:
URL: https://github.com/apache/roller/pull/350

   This backports master's theme fixes to 6.1.x, with jQuery 3.8.0 in the 
Gaurav theme.
   
   - **Gaurav:** the theme shipped jQuery 1.12.4 and Bootstrap 3.4.0, which 
have known XSS vulnerabilities (CVE-2015-9251, CVE-2019-11358, CVE-2020-11022, 
CVE-2020-11023 and CVE-2019-8331). It now ships jQuery 3.8.0 and Bootstrap 
3.4.1, the last Bootstrap 3 release. jQuery 3.8.0 is the unmodified 
`dist/jquery.min.js` from the npm package, checked against the registry's 
integrity hash. File names don't change, so the templates and theme.xml stay 
the same. (cherry-picked from eaca41ffe)
   - **Basic Mobile:** the theme loaded jQuery 2.1.1 and jQuery Mobile 1.4.2 
from code.jquery.com over plain http. Its templates now use plain CSS in 
basic-mobile-custom.css and a few lines of plain JavaScript for the view 
switch. (cherry-picked from 021872f17)
   - **Basic Mobile follow-up:** the mobile templates request their stylesheet 
with `?deviceType=mobile`, and the day template's teaser test is fixed. 
Master's roller.js change in that commit isn't needed here, because 6.1.x's 
roller.js has no jQuery block. (cherry-picked from 7092e9150)
   - `roller-ui/scripts/jquery-2.1.1.min.js` is removed. Nothing references it.
   - The binary LICENSE names jQuery 3.8.0 in place of the removed file and a 
jQuery UI 1.11.0 directory that is no longer in the tree.
   
   On a local 6.1.x build, the Gaurav theme's jquery.js and bootstrap.js load 
without errors, and the navbar collapse and dropdown open. Weblogs that 
customized either theme keep their own copies of these files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to