Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] WindowsPathParser bug in 9.3.10?

Can you capture/inspect the request from your browser and copy/paste it here?

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Tue, Jul 12, 2016 at 5:26 AM, Michele Rossi <michele.rossi@xxxxxxxxx> wrote:
hi all,

when running my Jetty 9.3.10 system on Windows 7 I am observing the behaviour below which looks wrong.

I don't understand what that code is trying to do but it looks like it's somehow forming paths with some of the content of the files a client is downloading and it's then trying to normalise them using WindowsPathParser?


In any case I thought you might want to know.

Many thanks,
Michele




14:21:49.211|WARN |   o.e.j.s.DefaultServlet|7C662196D528189A4E|a_bates   |UBSW_LON| EXCEPTION 
java.nio.file.InvalidPathException: Illegal char <"> at index 66: C:\Work\Workspaces\idr\iod-aggregator\iod-html\src\main\js\dist\/["dojo/_base/lang"]/</p.hitch/<@http://localhost:8686/js/html5/lib/gridx/gridx/grid-all.js
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at org.eclipse.jetty.util.resource.PathResource.<init>(PathResource.java:202)
at org.eclipse.jetty.util.resource.PathResource.addPath(PathResource.java:293)
at org.eclipse.jetty.servlet.DefaultServlet.getResource(DefaultServlet.java:401)
at org.eclipse.jetty.server.ResourceCache.getContent(ResourceCache.java:202)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:468)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top