Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Is this URI parsing bug?

Hi there,

here is a simple test that makes Jetty 9.3.0 (tested with 9.3.5.v20151012) puke 400 Bad URI, but IMHO that's wrong:

The problem stems from here:

As with HTTP req line like this
GET /@foo/bar HTTP/1.1

the HttpUri parses the "/@foo/bar" URI (in ctor), and it results as this at parsing end:

_scheme = null
_user = "/"
_host = null
_port = -1
_path = "foo/bar"
_param = null
_query = null
_fragment = null
_uri = ""
_decodedPath = null

Is this a bug?

Back to the top