This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mate-minidesktop-buster
in repository live-build-x2go.

commit c040fc213e89b35fcb1db9ff651b316c95e2a864
Author: Stefan Baur (BAUR-ITCS) <[email protected]>
Date:   Mon Jun 22 20:34:13 2020 +0200

    homepage-url-filter needs to parse %7C as "|"
---
 config/includes.chroot/lib/live/config/2900-firefox-config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2900-firefox-config 
b/config/includes.chroot/lib/live/config/2900-firefox-config
index 18acfb6..aec8a7e 100755
--- a/config/includes.chroot/lib/live/config/2900-firefox-config
+++ b/config/includes.chroot/lib/live/config/2900-firefox-config
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+function urldecode() {
+               : "${*//+/ }"; echo -e "${_//%/\\x}";
+       }
+
 FirefoxConfig ()
 {
        # Output startup message
@@ -10,6 +14,8 @@ FirefoxConfig ()
                      awk -F'=' ' /^homepageurl=/ { print $2 } ')
        if [ -z "$HOMEPAGEURL" ] ; then 
                HOMEPAGEURL='http://www.x2go.org/'
+       else
+               HOMEPAGEURL=$(echo -e "$(urldecode "$HOMEPAGEURL")")
        fi
        sed -i  -e '/"browser.rights.3.shown"/d' \
                -e '/"browser.startup.homepage_override.mstone"/d' \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/live-build-x2go.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to