From: Sandro Santilli Date: Sat, 18 Mar 2017 09:55:14 +0000 (+0100) Subject: Normalize OpenID URI before checking it for validity X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85a407e7b008d9a7ffb53006c419f7a8636f0452;p=quix0rs-gnu-social.git Normalize OpenID URI before checking it for validity Fixes #251 --- diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php index ee854e8140..8ec138ffb6 100644 --- a/plugins/OpenID/openid.php +++ b/plugins/OpenID/openid.php @@ -131,6 +131,7 @@ function oid_check_immediate($openid_url, $backto=null) function oid_authenticate($openid_url, $returnto, $immediate=false) { + $openid_url = Auth_OpenID::normalizeUrl($openid_url); if (!common_valid_http_url($openid_url)) { throw new ClientException(_m('No valid URL provided for OpenID.')); }