diff options
author | friendica <info@friendica.com> | 2013-08-26 17:06:19 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-26 17:06:19 -0700 |
commit | 7a8363c328d69b53a0c949bc2d8a047d2536d911 (patch) | |
tree | c65ebf000ef51885876c708c512b3b38102212d8 /include | |
parent | 2f2a316b27221759d433a786fb3485238f032a37 (diff) | |
download | volse-hubzilla-7a8363c328d69b53a0c949bc2d8a047d2536d911.tar.gz volse-hubzilla-7a8363c328d69b53a0c949bc2d8a047d2536d911.tar.bz2 volse-hubzilla-7a8363c328d69b53a0c949bc2d8a047d2536d911.zip |
more cleanup from the mess yesterday - you might have a look for xchan_addr and hubloc_addr with slashes in them and fix them - especially getting rid of ip addresses and the /channel/xyz in the addr fields
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index be5b0d9c0..b74892b19 100644 --- a/include/zot.php +++ b/include/zot.php @@ -606,6 +606,9 @@ function import_xchan($arr) { continue; } + if(strpos($location['address'],'/') !== false) + $location['address'] = substr($location['address'],0,strpos($location['address'],'/')); + // new hub claiming to be primary. Make it so. if(intval($location['primary'])) { |