Skip to content
Commit e9c6de5c 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 f5b15526
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment