about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index a8d9195..08ba129 100644
--- a/index.php
+++ b/index.php
@@ -15,6 +15,9 @@
 	$clients = json_decode(file_get_contents("clients_{$os}.json"));
 	$lang = json_decode(file_get_contents("lang/en.json"));
 	$uri = $_SERVER['QUERY_STRING'];
+	if (substr($uri, 0, 7) == 'xmpp%3a') {
+		$uri = urldecode($uri);
+	}
 	if ( substr($uri, 0, 5) != "xmpp:") {
 		$uri = "xmpp:" . $uri;
 	}