p0wer

[SmartEditor 2] smarteditor2 bmp확장자 업로드 오류 "accept_file_types"

html/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php
ㄴ 24 , reprocessImage, 오류명 ”accept_file_types” 3가지 확인 결과

24번째줄

	// imagecreatefrombmp, imagebmp bmp 부분 key, value값에 오타 있었음( 기존 - array("imagecreatefromwbmp", "imagewbmp"))
    private static $MIME_TYPES_PROCESSORS = array(
        "image/gif"       => array("imagecreatefromgif", "imagegif"),
        "image/jpg"       => array("imagecreatefromjpeg", "imagejpeg"),
        "image/jpeg"      => array("imagecreatefromjpeg", "imagejpeg"),
        "image/png"       => array("imagecreatefrompng", "imagepng"),
        "image/bmp"       => array("imagecreatefrombmp", "imagebmp")
   );

wbmp -> bmp
위와 같이 수정 시 bmp파일 정상 업로드 가능

|

댓글 4개

이런 불상사가 있었네요. 버그 보고 하세요.

감사합니다 ^^

감사합니다 ^^

감사합니다 

댓글을 작성하시려면 로그인이 필요합니다.
+
제목 글쓴이 날짜 조회
25-01-04 조회 5,301
25-01-02 조회 5,036
24-12-31 조회 5,263
24-12-30 조회 5,499
24-12-28 조회 5,544
24-12-26 조회 6,020
24-12-25 조회 5,336
24-12-24 조회 5,765
24-12-24 조회 4,954
24-12-19 조회 5,395
24-12-17 조회 5,250
24-12-17 조회 5,001
24-12-16 조회 5,003
24-12-14 조회 5,660
24-12-14 조회 5,392
24-12-12 조회 5,466
24-12-10 조회 5,166
24-12-03 조회 5,547
24-12-01 조회 5,199
24-11-30 조회 5,234
24-11-29 조회 6,780
24-11-28 조회 5,100
24-11-25 조회 4,846
24-11-22 조회 4,938
24-11-20 조회 5,293
24-11-19 조회 4,887
24-11-16 조회 5,473
24-11-13 조회 4,968
24-11-11 조회 5,432
24-11-09 조회 5,247