[Debian-l10n-devel] [DDTSS] missing information about previous translation with Iceweasel and https

Thomas Vincent thomas at vinc-net.fr
Tue Jan 19 23:23:59 UTC 2016


Le 14/01/2016 07:03, Christian PERRIER a écrit :
> Quoting Thomas Vincent (thomas at vinc-net.fr):
>> I would like to have you opinions about it and am willing to propose a
>> patch if my poor Perl skills allow me to do so. :)
> Please do!

Daniele Forsi has implemented a nice (client-side) workaround in his
greasemonkey script [1]. It simply consists in removing the scheme (the
"http:" part) from the iframe url.
Having such a url allows the browser to ask for the https page if the
main page is currently https and ask for http otherwise.

To implement that in DDTSS, I just changed the regex which fetches the
patch url for the iframe to make it leave the scheme out. See the
slightly moved parenthesis in the attached patch. :)

If nobody objects, I will push my change at the end of the week and hope
nothing breaks. :)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: iframe-fix.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-l10n-devel/attachments/20160120/6b709a7f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-l10n-devel/attachments/20160120/6b709a7f/attachment.sig>

More information about the Debian-l10n-devel mailing list