Index: src/webservice/htdocs/SiWeather/Webservice/WebserviceConfig.php
===================================================================
--- src/webservice/htdocs/SiWeather/Webservice/WebserviceConfig.php	(revision 552da81b86738e64cadc8d1f5be3e7d4dc9d5f0c)
+++ src/webservice/htdocs/SiWeather/Webservice/WebserviceConfig.php	(revision cf345ee692e8e55ead73d2cd6027061242e1e020)
@@ -71,5 +71,5 @@
 	public function webserviceBaseUrl(){
 		$baseUrl = $this->_config["webserviceBaseUrl"];
-		if(substr($baseUrl, strlen($baseUrl), 1) != "/"){
+		if(substr($baseUrl, strlen($baseUrl) - 1, 1) != "/"){
 			$baseUrl .= "/";
 		}
