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년 전 조회 920
1년 전 조회 948
1년 전 조회 1,396
1년 전 조회 1,254
1년 전 조회 1,230
1년 전 조회 998
1년 전 조회 1,373
1년 전 조회 967
1년 전 조회 1,083
1년 전 조회 2,221
1년 전 조회 951
1년 전 조회 792
1년 전 조회 862
1년 전 조회 1,206
1년 전 조회 702
1년 전 조회 1,329
1년 전 조회 872
1년 전 조회 1,311
1년 전 조회 1,077
1년 전 조회 1,694
1년 전 조회 1,127
1년 전 조회 1,488
1년 전 조회 1,386
1년 전 조회 1,281
1년 전 조회 997
1년 전 조회 1,252
1년 전 조회 1,946
1년 전 조회 978
1년 전 조회 1,071
1년 전 조회 746