[Pkg-owncloud-commits] [php-sabredav] 36/42: There were more than 1 bonus backslashes.
David Prévot
taffit at moszumanska.debian.org
Wed Jul 23 16:41:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit c64d8d958958118026791e6e812f9c0e882d41cf
Author: Evert Pot <me at evertpot.com>
Date: Wed Jul 2 12:18:44 2014 -0400
There were more than 1 bonus backslashes.
Fixes #475.
---
lib/DAV/Browser/Plugin.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/DAV/Browser/Plugin.php b/lib/DAV/Browser/Plugin.php
index 29b6f52..31d6005 100644
--- a/lib/DAV/Browser/Plugin.php
+++ b/lib/DAV/Browser/Plugin.php
@@ -566,12 +566,12 @@ HTML;
switch($view) {
case 'href' :
- echo "<a href=\"" . $this->server->getBaseUri() . $value->getHref() . '\">' . $this->server->getBaseUri() . $value->getHref() . '</a>';
+ echo "<a href=\"" . $this->server->getBaseUri() . $value->getHref() . '">' . $this->server->getBaseUri() . $value->getHref() . '</a>';
break;
case 'hreflist' :
echo implode('<br />', array_map(function($href) {
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>';
+ 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