]> _ Git - fluidbook-html5.git/commitdiff
#1698
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Sep 2017 13:24:51 +0000 (15:24 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Sep 2017 13:24:51 +0000 (15:24 +0200)
js/libs/fluidbook/fluidbook.nav.js

index d2dbb13fb61a9583fc9998bd47caf87d2cc054ee..f345fc387ba814fb286c3de22d61adbcfb11cdf0 100644 (file)
@@ -102,6 +102,9 @@ FluidbookNav.prototype = {
                     homeURL = decodeURIComponent(window.localStorage.getItem('apphome'));
                 }
                 if ($_GET['home'] != null) {
+                    if ($_GET['home'].indexOf("%253A") <= 6) {
+                        $_GET['home'] = decodeURIComponent(decodeURIComponent($_GET['home']));
+                    }
                     if ($_GET['home'].indexOf("%3A") <= 6) {
                         $_GET['home'] = decodeURIComponent($_GET['home']);
                     }