summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-01-04 00:02:56 +0000
committertailor <cygnus@janrain.com>2007-01-04 00:02:56 +0000
commitab0791dbebfdfe737420f6e9e08dd0c3d27b5257 (patch)
treec86d1d3d83200114ad9b0c36d92f3ad2cf1d690a /Auth
parent1811da5a093e12fb431e1872f6719f069e78c204 (diff)
downloadphp-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.php8
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);