summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
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);