some openid fixes, use identity url from openid server and normalise it.

This commit is contained in:
friendica 2012-03-19 06:48:11 -07:00
parent 2349852b4a
commit 139a86dbd3
4 changed files with 15 additions and 3 deletions

View file

@ -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),'/');
}