Git Product home page Git Product logo

Comments (1)

kyungilpark avatar kyungilpark commented on July 22, 2024

안녕하세요 @JinSeok-Ryu
ㅎㅎ 서버측에 어떤 인터셉터를 적용했는지 모르기 때문에 도움드리기는 어려운데요..

아시다시피 인터셉터나 필터들은 request, response에 대해 전/후 처리하기 위해 사용하는 녀석들입니다.
보통 파일업로드는 multipart/form-data형식으로 request가 넘어가기 때문에 중간에 변조가 일어나면 정상적인 파일을 얻을 수 없습니다.
적용하신 인터셉터가 언어 설정과 관련되어 있다고 하시니 request parameter 값들에 대해 charset인코딩/디코딩처리 등을 하지 않을까 싶은데 이 부분이 일괄처리 되다보니 그 과정에서 데이터가 손상되었을 가능성이 커보입니다.

해당 인터셉터 라이브러리의 버그가 아닐까 싶습니다만...
일반적으로 인터셉터/필터들은 설정파일을 통해 적용 URL을 지정할 수 있기 때문에 파일업로드 요청 URL만 인터셉터적용을 제외하도록 설정하는 것이 어떨까 싶습니다.

from smarteditor2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.