Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37559485
en ru br
ALT Linux repositórios
S:27.0.1-alt1

Group :: Rede/WWW
RPM: nextcloud

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: nextcloud-simple-check-unicode-locale.patch
Download


diff --git a/nextcloud/lib/private/legacy/OC_Util.php b/nextcloud/lib/private/legacy/OC_Util.php
index edee23995f1..e62740978bb 100644
--- a/nextcloud/lib/private/legacy/OC_Util.php
+++ b/nextcloud/lib/private/legacy/OC_Util.php
@@ -1032,13 +1032,7 @@ class OC_Util {
 	 * @return bool
 	 */
 	private static function isNonUTF8Locale() {
-		if (function_exists('escapeshellcmd')) {
-			return '' === escapeshellcmd('§');
-		} elseif (function_exists('escapeshellarg')) {
-			return '\'\'' === escapeshellarg('§');
-		} else {
-			return 0 === preg_match('/utf-?8/i', setlocale(LC_CTYPE, 0));
-		}
+		return 0 === preg_match('/utf-?8/i', setlocale(LC_CTYPE, 0));
 	}
 
 	/**
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009