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개

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

감사합니다 ^^

감사합니다 ^^

감사합니다 

댓글을 작성하시려면 로그인이 필요합니다.

그누보드5 팁자료실

+
제목 글쓴이 날짜 조회
1년 전 조회 852
1년 전 조회 878
1년 전 조회 1,315
1년 전 조회 1,170
1년 전 조회 1,152
1년 전 조회 927
1년 전 조회 1,308
1년 전 조회 882
1년 전 조회 986
1년 전 조회 2,083
1년 전 조회 870
1년 전 조회 731
1년 전 조회 788
1년 전 조회 1,145
1년 전 조회 595
1년 전 조회 1,243
1년 전 조회 802
1년 전 조회 1,230
1년 전 조회 1,003
1년 전 조회 1,569
1년 전 조회 1,042
1년 전 조회 1,401
1년 전 조회 1,298
1년 전 조회 1,187
1년 전 조회 909
1년 전 조회 1,136
1년 전 조회 1,852
1년 전 조회 891
1년 전 조회 982
1년 전 조회 665
🐛 버그신고