IT/development

[WAS]apache tomcat ์š”์ฒญ ํƒ€๊ฒŸ์—์„œ ์œ ํšจํ•˜์ง€ ์•Š์€ ๋ฌธ์ž๊ฐ€...

์•Œ ์ˆ˜ ์—†๋Š” ์‚ฌ์šฉ์ž 2022. 11. 24.

๋ชฉ์ฐจ

    ์š”์ฒญ ํƒ€๊ฒŸ์—์„œ ์œ ํšจํ•˜์ง€ ์•Š์€ ๋ฌธ์ž๊ฐ€..

    HTTP ์ƒํƒœ 400 - ์ž˜๋ชป๋œ ์š”์ฒญ
    ๋ฉ”์‹œ์ง€ : ์š”์ฒญ ํƒ€๊ฒŸ์—์„œ ์œ ํšจํ•˜์ง€ ์•Š์€ ๋ฌธ์ž๊ฐ€ ๋ฐœ๊ฒฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์œ ํšจํ•œ ๋ฌธ์ž๋“ค์€ RFC 7230๊ณผ RFC 3986์— ์ •์˜๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

    apache tomcat WAS์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ๋กœ ์ฟผ๋ฆฌ์ŠคํŠธ๋ง์— []๊ฐ™์€ ํŠน์ˆ˜๋ฌธ์ž๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ ๋ฐœ์ƒ

    ํ•ด๊ฒฐ๋ฐฉ๋ฒ• : 

    server.xml์—์„œ relaxedQueryChars="[,]"๋ฅผ ์ถ”๊ฐ€

    server.xml

     

    ์ฐธ์กฐ : https://ninetynine-2026.tistory.com/507

     

    [์—๋Ÿฌ] ์š”์ฒญ ํƒ€๊ฒŸ์—์„œ ์œ ํšจํ•˜์ง€ ์•Š์€ ๋ฌธ์ž๊ฐ€ ๋ฐœ๊ฒฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์œ ํšจํ•œ ๋ฌธ์ž๋“ค์€ RFC 7230๊ณผ RFC 3986์—

    http://localhost:8080/adm/main_visual? mode=insert&orderKey=regist_dt&startPage=-1&orderVal=desc&searchKey[]=use_yn ํ†ฐ์บฃ์—์„œ ๋‚˜๋Š” ์˜ค๋ฅ˜๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ฟผ๋ฆฌ์ŠคํŠธ๋ง์— [] ๊ฐ™์€ ํŠน์ˆ˜๋ฌธ์ž๊ฐ€ ์žˆ์–ด์„œ ๋‚˜๋Š” ์—๋Ÿฌ์ž…๋‹ˆ๋‹ค. server.xml์—

    ninetynine-2026.tistory.com

    ๋Œ“๊ธ€