HTTP Status 400 – Bad Request

HTTP Status 400 – Bad Request


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


Apache Tomcat/9.0.65


منبع: https://www.ghatreh.com/news/nn64971290/%D8%AF%D8%B1-%D9%87%D9%81%D8%AA%D9%87-%D8%A7%DB%8C-%DA%A9%D9%87-%DA%AF%D8%B0%D8%B4%D8%AA-%DA%A9%D8%AF%D8%A7%D9%85-%D8%AE%D9%88%D8%AF%D8%B1%D9%88%D9%87%D8%A7-%D8%A7%D8%B1%D8%B2%D8%A7%D9%86-%D8%B4%D8%AF%D9%86%D8%AF%D8%9F

Message Invalid character found in the request target [/news/458859/0xd80xaf0xd80xb1-0xd90x870xd90x810xd80xaa0xd90x87-0xd80xa70xdb0x8c-0xda0xa90xd90x87-0xda0xaf0xd80xb00xd80xb40xd80xaa-0xda0xa90xd80xaf0xd80xa70xd90x85-0xd80xae0xd90x880xd80xaf0xd80xb10xd90x880xd90x870xd80xa7-0xd80xa70xd80xb10xd80xb20xd80xa70xd90x86-0xd80xb40xd80xaf0xd90x860xd80xaf ]. The valid characters are defined in RFC 7230 and RFC 3986

Type Exception Report

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).

java.lang.IllegalArgumentException: Invalid character found in the request target [/news/458859/0xd80xaf0xd80xb1-0xd90x870xd90x810xd80xaa0xd90x87-0xd80xa70xdb0x8c-0xda0xa90xd90x87-0xda0xaf0xd80xb00xd80xb40xd80xaa-0xda0xa90xd80xaf0xd80xa70xd90x85-0xd80xae0xd90x880xd80xaf0xd80xb10xd90x880xd90x870xd80xa7-0xd80xa70xd80xb10xd80xb20xd80xa70xd90x86-0xd80xb40xd80xaf0xd90x860xd80xaf ]. The valid characters are defined in RFC 7230 and RFC 3986 org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:502) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:750) Exception

توسط ساندرو موناری

ساندرو موناری