CHEditor에서 이미지 업로드시 서버 내 경로가 노출되는 문제 수정 #248

This commit is contained in:
thisgun
2023-07-17 11:55:45 +09:00
parent 6eaa6ee22a
commit 3becc03d23

View File

@ -145,9 +145,8 @@ if (function_exists('run_replace')) {
}
$rdata = sprintf(
'{"fileUrl": "%s", "filePath": "%s", "fileName": "%s", "fileSize": "%d" }',
'{"fileUrl": "%s", "fileName": "%s", "fileSize": "%d" }',
$file_url,
$savefile,
$filename,
$filesize
);