From 50603001381089d451272ae6a1ab82798f2e2c4c Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Sat, 25 Mar 2017 10:07:45 +0000
Subject: [PATCH] Reset the static variable $baseurl

---
 include/Probe.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/Probe.php b/include/Probe.php
index 929e89a68a..d08460a56b 100644
--- a/include/Probe.php
+++ b/include/Probe.php
@@ -56,6 +56,9 @@ class Probe {
 	 */
 	private function xrd($host) {
 
+		// Reset the static variable
+		self::$baseurl = '';
+
 		$ssl_url = "https://".$host."/.well-known/host-meta";
 		$url = "http://".$host."/.well-known/host-meta";
 
-- 
2.39.5