[Python-modules-team] Bug#911471: The 0003-Remove-cookies-and-tracking.patch breaks JS and HTML

Slavko linux at slavino.sk
Sat Oct 20 15:21:55 BST 2018


Package: cloud-sptheme-common
Version: 1.9.4-1

While playing with cloud-sptheme i noticed JS errors, after small
digging into problem i found, that the mentioned patch breaks JS file
at least at two places.

The first one removes semicolon from var command and the second one
removes value variable definition, which is used later.

Another problem is, that this patch removes link to google's font CSS,
but leaves the CSS link in template, which results in empty link tag.
While this doesn't breaks anything, it involves one useless request per
page show.

The attached patch fixes both, JS & template, problems. It is not
intended to direct usage, but only to show where the problem exists (i
have no build environment, then patch was created after installation)
and how can be fixed.

regards

-- 
Slavko
http://slavino.sk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixed2.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20181020/eb4e72ca/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 506 bytes
Desc: Digitálny podpis OpenPGP
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20181020/eb4e72ca/attachment-0001.sig>


More information about the Python-modules-team mailing list