[jetty-dev] [jira] (JETTY-1533) Jetty returns 400 if url doesn't have trailing slash.

"Anatoly Kupriyanov (JIRA)" <[email protected]> Mon, 9 Jul 2012 07:20:21 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <52770398.23128.1341836421062.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Anatoly Kupriyanov
commented on JETTY-1533

Jetty returns 400 if url doesn't have trailing slash.

This is line which throws the 400 error:

protected void handleRequest() throws IOException
{
if (_server.isRunning())
{
boolean retrying = false;
boolean error = false;
String threadName = null;
String info=null;
try
{
info = URIUtil.canonicalPath(_uri.getDecodedPath());
if (info == null)
throw new HttpException(400);

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators .

For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email