[Pkg-owncloud-commits] [php-sabredav] 133/163: Case sensitivity.

David Prévot taffit at moszumanska.debian.org
Tue May 20 18:55:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag upstream/2.0.0_beta1
in repository php-sabredav.

commit 9c847c9f8a86f75689c86753d2787385febce287
Author: Evert Pot <me at evertpot.com>
Date:   Tue May 13 11:44:23 2014 -0400

    Case sensitivity.
---
 lib/DAV/Browser/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/Browser/Plugin.php b/lib/DAV/Browser/Plugin.php
index 51e75f4..b4404c3 100644
--- a/lib/DAV/Browser/Plugin.php
+++ b/lib/DAV/Browser/Plugin.php
@@ -603,7 +603,7 @@ HTML;
                 break;
             case 'hreflist' :
                 echo implode('<br />', array_map(function($href) {
-                    if (strpos($href,'mailto:')===0 || strpos($href,'/')===0 || strpos($href,'http:')===0 || strpos($href,'https:') === 0) {
+                    if (stripos($href,'mailto:')===0 || stripos($href,'/')===0 || stripos($href,'http:')===0 || stripos($href,'https:') === 0) {
                         return "<a href=\"" . $this->escapeHTML($href) . '\">' . $this->escapeHTML($href) . '</a>';
                     } else {
                         return "<a href=\"" . $this->escapeHTML($this->server->getBaseUri() . $href) . '\">' . $this->escapeHTML($this->server->getBaseUri() . $href) . '</a>';

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list