From 139a86dbd395f4601b29b9af97ac8ea190cce9f9 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 19 Mar 2012 06:48:11 -0700 Subject: some openid fixes, use identity url from openid server and normalise it. --- include/text.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/text.php b/include/text.php index a0ff1600e..2956c9467 100644 --- a/include/text.php +++ b/include/text.php @@ -1355,3 +1355,6 @@ function file_tag_unsave_file($uid,$item,$file) { return true; } +function normalise_openid($s) { + return trim(str_replace(array('http://','https://'),array('',''),$s),'/'); +} -- cgit v1.2.3