diff options
author | tailor <cygnus@janrain.com> | 2007-01-04 00:02:56 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-01-04 00:02:56 +0000 |
commit | ab0791dbebfdfe737420f6e9e08dd0c3d27b5257 (patch) | |
tree | c86d1d3d83200114ad9b0c36d92f3ad2cf1d690a /Auth | |
parent | 1811da5a093e12fb431e1872f6719f069e78c204 (diff) | |
download | php-openid-ab0791dbebfdfe737420f6e9e08dd0c3d27b5257.zip php-openid-ab0791dbebfdfe737420f6e9e08dd0c3d27b5257.tar.gz php-openid-ab0791dbebfdfe737420f6e9e08dd0c3d27b5257.tar.bz2 |
[project @ FIX #1150: Fix _startswith and _pct_escape_unicode]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/URINorm.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Auth/OpenID/URINorm.php b/Auth/OpenID/URINorm.php index 6c07a0d..d1c653e 100644 --- a/Auth/OpenID/URINorm.php +++ b/Auth/OpenID/URINorm.php @@ -90,15 +90,15 @@ function Auth_OpenID_remove_dot_segments($path) $result_segments = array(); while ($path) { - if (_startswith($path, '../')) { + if (Services_Yadis_startswith($path, '../')) { $path = substr($path, 3); - } else if (_startswith($path, './')) { + } else if (Services_Yadis_startswith($path, './')) { $path = substr($path, 2); - } else if (_startswith($path, '/./')) { + } else if (Services_Yadis_startswith($path, '/./')) { $path = substr($path, 2); } else if ($path == '/.') { $path = '/'; - } else if (_startswith($path, '/../')) { + } else if (Services_Yadis_startswith($path, '/../')) { $path = substr($path, 3); if ($result_segments) { array_pop($result_segments); |