[geany/plugins.geany.org] 75804a: Make hard-coded HTTP protocol references to http://plugins.geany.org protocol-relative

Enrico Tröger git-noreply at xxxxx
Wed Jul 22 18:37:38 UTC 2015


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Wed, 22 Jul 2015 18:37:38 UTC
Commit:      75804ae28e86c38a281b6daa4ff9fb964129689a
             https://github.com/geany/plugins.geany.org/commit/75804ae28e86c38a281b6daa4ff9fb964129689a

Log Message:
-----------
Make hard-coded HTTP protocol references to http://plugins.geany.org protocol-relative

This is also more or less only a temporary change. Ideally we would switch everything
to SSL/HTTPS at some point.


Modified Paths:
--------------
    gencontent.sh

Modified: gencontent.sh
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -219,6 +219,9 @@ function gen_html_from_readme()
     # since tidy just outputs spaces, not tabs, we'll replace those spaces
     # with tabs again ourself
     sed -i "s/  /\t/g" .README.html
+    # remove hard-coded references to http://plugins.geany.org and make the links
+    # protocol-relative to not break SSL
+    sed -i "s/http:\/\/plugins.geany.org\//\/\/plugins.geany.org\//g" .README.html
     cp .README.html ${dir}${plugin}.html
     echo -e "\n\n" >> ${LOGFILE}
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list