Skip to content
Commit 7e80182e authored by Naoto Kobayashi's avatar Naoto Kobayashi Committed by backportbot[bot]
Browse files

Fix missing setlocale with php 8



When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale.
This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8").

Fix it by using escapeshellcmd instead of basename.

Signed-off-by: default avatarNaoto Kobayashi <naoto.kobayashi4c@gmail.com>
parent a80d49a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment