Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 14:10:46 +0400
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 14:10:46 +0400
commit30d7993e0105a6c98cbf61d4253d08acf236aca7 (patch)
treebbf0cf871a65a2cb897f3a4ea405cf3ca3980c47 /lib/request.php
parentf8d1d7787e1112842db81a629dfd84b586fbebda (diff)
Checkstyle fixes: NoSpaceAfterComma
Diffstat (limited to 'lib/request.php')
-rw-r--r--lib/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/request.php b/lib/request.php
index 87262d98625..287d20d1a5d 100644
--- a/lib/request.php
+++ b/lib/request.php
@@ -63,7 +63,7 @@ class OC_Request {
$path_info = substr($_SERVER['REQUEST_URI'], strlen($_SERVER['SCRIPT_NAME']));
// following is taken from Sabre_DAV_URLUtil::decodePathSegment
$path_info = rawurldecode($path_info);
- $encoding = mb_detect_encoding($path_info, array('UTF-8','ISO-8859-1'));
+ $encoding = mb_detect_encoding($path_info, array('UTF-8', 'ISO-8859-1'));
switch($encoding) {
@@ -98,7 +98,7 @@ class OC_Request {
$HTTP_ACCEPT_ENCODING = $_SERVER["HTTP_ACCEPT_ENCODING"];
if( strpos($HTTP_ACCEPT_ENCODING, 'x-gzip') !== false )
return 'x-gzip';
- else if( strpos($HTTP_ACCEPT_ENCODING,'gzip') !== false )
+ else if( strpos($HTTP_ACCEPT_ENCODING, 'gzip') !== false )
return 'gzip';
return false;
}