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 조회 6,152
25-01-02 조회 5,906
24-12-31 조회 6,171
24-12-30 조회 6,718
24-12-28 조회 6,803
24-12-26 조회 6,877
24-12-25 조회 6,280
24-12-24 조회 6,699
24-12-24 조회 5,855
24-12-19 조회 6,264
24-12-17 조회 6,121
24-12-17 조회 5,843
24-12-16 조회 5,859
24-12-14 조회 6,490
24-12-14 조회 6,237
24-12-12 조회 6,296
24-12-10 조회 6,014
24-12-03 조회 6,389
24-12-01 조회 6,026
24-11-30 조회 6,112
24-11-29 조회 7,663
24-11-28 조회 5,970
24-11-25 조회 5,698
24-11-22 조회 5,778
24-11-20 조회 6,145
24-11-19 조회 5,715
24-11-16 조회 6,307
24-11-13 조회 5,796
24-11-11 조회 6,257
24-11-09 조회 6,086