[Pkg-owncloud-commits] [owncloud] 20/73: 4.0.7 and remove some ^M while at it
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:09:00 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.
commit 526e704c9f04bc689094083d070745ea8c661ff9
Author: Frank Karlitschek <frank at owncloud.org>
Date: Tue Aug 14 20:07:58 2012 +0200
4.0.7
and remove some ^M while at it
---
lib/util.php | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/util.php b/lib/util.php
index b7ceee9..010aa1f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -83,7 +83,7 @@ class OC_Util {
* @return array
*/
public static function getVersion(){
- return array(4,00,6);
+ return array(4,00,7);
}
/**
@@ -91,7 +91,7 @@ class OC_Util {
* @return string
*/
public static function getVersionString(){
- return '4.0.6';
+ return '4.0.7';
}
/**
@@ -408,18 +408,18 @@ class OC_Util {
}
}
- /**
- * @brief Public function to sanitize HTML
- *
- * This function is used to sanitize HTML and should be applied on any string or array of strings before displaying it on a web page.
- *
- * @param string or array of strings
- * @return array with sanitized strings or a single sinitized string, depends on the input parameter.
- */
- public static function sanitizeHTML( &$value ){
- if (is_array($value) || is_object($value)) array_walk_recursive($value,'OC_Util::sanitizeHTML');
- else $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4
- return $value;
+ /**
+ * @brief Public function to sanitize HTML
+ *
+ * This function is used to sanitize HTML and should be applied on any string or array of strings before displaying it on a web page.
+ *
+ * @param string or array of strings
+ * @return array with sanitized strings or a single sinitized string, depends on the input parameter.
+ */
+ public static function sanitizeHTML( &$value ){
+ if (is_array($value) || is_object($value)) array_walk_recursive($value,'OC_Util::sanitizeHTML');
+ else $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4
+ return $value;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list