bug-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-librejs] LibreJS blocking JavaScript on Libreplanet Website


From: Siraphob (Ben) Phipathananunth
Subject: [Bug-librejs] LibreJS blocking JavaScript on Libreplanet Website
Date: Tue, 22 May 2018 17:59:51 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

The LibrePlanet 2018 website loads non-free Javascript, as detected by
LibreJS.

https://libreplanet.org/2018/live/

This following block is directly copied from LibreJS. I am running
version 7.0.

-------------------

List of BLOCKED javascript in https://libreplanet.org/2018/live/:

    https://libreplanet.org/2018/assets/js/mithril.min.js:
    External script with no known license.
    https://libreplanet.org/2018/assets/js/bootstrap-3.3.5.min.js:
    External script with no known license.
    https://libreplanet.org/2018/assets/js/jquery-1.11.3.min.js:
    External script with no known license.
    https://irc0d.libreplanet.org/irc/assets/libs/lodash.min.js?t=1518815955698:
    External script with no known license.
    
https://irc0d.libreplanet.org/irc/assets/libs/backbone.min.js?t=1518815955698:
    External script with no known license.
    https://irc0d.libreplanet.org/irc/assets/libs/jed.js?t=1518815955698:
    External script with no known license.
    https://irc0d.libreplanet.org/irc/assets/kiwi.min.js?t=1518815955698:
    External script with no known license.
    
https://irc0d.libreplanet.org/irc/assets/libs/engine.io.bundle.min.js?t=1518815955698:
    External script with no known license.

-------------------

It could be due to incorrect parsing of the license comment at the top of the 
file.

For instance, https://libreplanet.org/2018/assets/js/mithril.min.js has the 
following lines at the top

-------------------
/*
Mithril v0.1.30
http://github.com/lhorie/mithril.js
(c) Leo Horie
License: MIT
*/
-------------------

https://libreplanet.org/2018/assets/js/bootstrap-3.3.5.min.js has

-------------------
/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under the MIT license
 */
-------------------

and https://libreplanet.org/2018/assets/js/jquery-1.11.3.min.js has

/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | 
jquery.org/license */

This problem also appears on https://media.libreplanet.org/u/libreplanet/

-------------------
List of BLOCKED javascript in https://media.libreplanet.org/u/libreplanet/:

    https://media.libreplanet.org/u/libreplanet/:
    External script with no known license.
    https://media.libreplanet.org/mgoblin_static/js/geolocation-map.js:
    External script with no known license.
    https://media.libreplanet.org/mgoblin_static/extlib/leaflet/leaflet.js:
    External script with no known license.
    https://media.libreplanet.org/mgoblin_static/js/header_dropdown.js:
    External script with no known license.
    https://media.libreplanet.org/mgoblin_static/js/extlib/jquery.js:
    External script with no known license.
    https://media.libreplanet.org/mgoblin_static/js/notifications.js:
    External script with no known license.
-------------------

Despite some of the scripts being correctly tagged as free software.

https://media.libreplanet.org/mgoblin_static/js/geolocation-map.js starts with:

-------------------
/**
 * GNU MediaGoblin -- federated, autonomous media hosting
 * Copyright (C) 2011, 2012 MediaGoblin contributors.  See AUTHORS.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-------------------



Regards,

Ben
--
Siraphob (Ben) Phipathananunth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]