HTTP Status 400 – Bad Request


HTTP Status 400 – Bad Request


Type Exception Report

Message Invalid character found in the request target [/news/457869/0xd80xa70xd90x880xd90x840xdb0x8c0xd90x86-0xd80xaa0xd80xb50xd80xa70xd90x880xdb0x8c0xd80xb1-0xd80xa70xd80xb2-0xd80xb90xd80xb10xd90x880xd80xb30xdb0x8c-0xd80xa80xd80xb20xd80xb10xda0xaf-0xd80xac0xd90x860xdb0x8c0xd90x810xd80xb1-0xd90x840xd90x880xd90xbe0xd80xb2-0xd80xaa0xd80xb50xd80xa70xd90x880xdb0x8c0xd80xb1]. The valid characters are defined in RFC 7230 and RFC 3986

Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Exception

java.lang.IllegalArgumentException: Invalid character found in the request target [/news/457869/0xd80xa70xd90x880xd90x840xdb0x8c0xd90x86-0xd80xaa0xd80xb50xd80xa70xd90x880xdb0x8c0xd80xb1-0xd80xa70xd80xb2-0xd80xb90xd80xb10xd90x880xd80xb30xdb0x8c-0xd80xa80xd80xb20xd80xb10xda0xaf-0xd80xac0xd90x860xdb0x8c0xd90x810xd80xb1-0xd90x840xd90x880xd90xbe0xd80xb2-0xd80xaa0xd80xb50xd80xa70xd90x880xdb0x8c0xd80xb1]. The valid characters are defined in RFC 7230 and RFC 3986
	org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:499)
	org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260)
	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589)
	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	java.lang.Thread.run(Thread.java:750)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/9.0.37


منبع: https://www.ghatreh.com/news/nn64763011/%D8%A7%D9%88%D9%84%DB%8C%D9%86-%D8%AA%D8%B5%D8%A7%D9%88%DB%8C%D8%B1-%D8%A7%D8%B2-%D8%B9%D8%B1%D9%88%D8%B3%DB%8C-%D8%A8%D8%B2%D8%B1%DA%AF-%D8%AC%D9%86%DB%8C%D9%81%D8%B1-%D9%84%D9%88%D9%BE%D8%B2-%D8%AA%D8%B5%D8%A7%D9%88%DB%8C%D8%B1