Comments (5)
Are there any limitations for Jetty 12 PathSpecs?
from jetty.project.
I think we have a bug in ee10
handling of suffix-mapped DefaultServlet
instances. I believe this works in ee9
, can you back down to that version?
I've opened issue #11794.
from jetty.project.
Yes, it works in EE9, but I want to know if this bug will be fixed soon in EE10?
from jetty.project.
Thanks for fixing this issue, but I want to know why when I refresh the dependencies, I don't see the new modification in the class DefaultServlet.java
from jetty.project.
I think we have a bug in
ee10
handling of suffix-mappedDefaultServlet
instances. I believe this works inee9
, can you back down to that version?I've opened issue #11794.
I think we have a bug in
ee10
handling of suffix-mappedDefaultServlet
instances. I believe this works inee9
, can you back down to that version?I've opened issue #11794.
I'm also having the same problem with static resources index.html. I'm not sure if it's a bug in DefaultServlet or a limitation of PathSpecs, but I'd appreciate it if you could take a look into it.
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
context.setContextPath("/");
ResourceFactory resourceFactory = ResourceFactory.of(context);
context.setBaseResource(resourceFactory.newResource(mainResourceBase));
ServletHolder holderAlt = new ServletHolder("static-alt", DefaultServlet.class);
holderAlt.setInitParameter("dirAllowed", "true");
holderAlt.setInitParameter("acceptRanges", "true");
context.addServlet(holderAlt, "*.js");
ServletHolder holderstat = new ServletHolder("static", DefaultServlet.class);
holderstat.setInitParameter("dirAllowed", "true");
holderstat setInitParameter("acceptRanges", "true");
holderstat.setInitParameter("cacheControl", "no-store");
context.addServlet(holderstat , "/index.html");
ServletHolder holderDef = new ServletHolder("default", DefaultServlet.class);
holderDef.setInitParameter("dirAllowed", "true");
context.addServlet(holderDef, "/");
from jetty.project.
Related Issues (20)
- replacement for GlobalWebappConfigBinding HOT 3
- Consider adding @NotNull or similar to the code base HOT 11
- After creating the keystore according to the official documentation, executing the following code fails to establish an HTTPS connection when accessed from a web browser. HOT 1
- jetty-ee8-websocket-javax-server export not honoured HOT 2
- HTTP2 async failure on a stream can lead to the connection being aborted HOT 5
- SecureRequestCustomizer() for HTTP3 HOT 1
- Jetty Releases 12.0.10
- Memory leak in `ArrayRetainableByteBufferPool$RetainedBucket` HOT 1
- Define core deployment HOT 7
- README link is broken HOT 6
- Server resources are not found if the server is subclassed in a different package
- Remove old documentation resources.
- HttpChannelState does not satisfy the contract of Content.Source HOT 2
- Issue with Configuring Specific Static Resources in the same base directory ee10 jetty 12.0.10 HOT 17
- Jetty 12 Core SecurityHandler relies on ContextHandler HOT 2
- GzipHandler switches response transfer encoding to chunked HOT 4
- DefaultServlet configured for a subdir responds with 404 on existing files HOT 7
- Behavioural change in Jetty 12: POST /non-existing returns 405, instead of 404 (GET /non-existing still returns 404)
- Jetty 12: 400: Ambiguous URI path encoding for path <%=FOO%>~1 (encoded: %3C%25%3DFOO%25%3E%7E1)
- mtls not working with http/3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetty.project.