Lachlan
e345ee28a5
Issue #7059 - prevent an internal NPE in AllowedResourceAliasChecker doStart ( #7076 )
...
- prevent an internal NPE in AllowedResourceAliasChecker doStart
- Fix LifeCycle issues with AllowedResourceAliasChecker
- add null check for protected targets in toString.
- improve warning message for AllowedResourceAliasChecker
- add AllowedResourceAliasCheckerTest
2021-12-07 09:37:11 +11:00
Olivier Lamy
2426b34a51
Issue #6980 mark the field as accessible ( #6981 )
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-10-15 09:00:40 +10:00
Joakim Erdfelt
cfc67f86d2
Updating to version 10.0.8-SNAPSHOT
2021-10-06 14:51:32 -05:00
Joakim Erdfelt
da8a4553af
Updating to version 10.0.7
2021-10-06 14:32:37 -05:00
Simone Bordet
0412bdc3d9
Fixes #6938 - module-info.java file do not use the canonical order for the elements
...
Changed order of entries in module-info.java to be canonical
(cherry picked from commit 02691171d5
)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-10-01 09:25:55 +02:00
Olivier Lamy
51d44a3401
use dependencyManagement for internal dependencies ( #6940 )
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-09-30 16:57:19 +10:00
Greg Wilkins
aac366c300
Fix #6883 relative welcome redirect ( #6886 ) ( #6894 )
...
* Fix #6883 relative welcome redirect (#6886 )
Fix #6883 relative welcome redirect
+ make all redirects able to be relative
+ added test for relative redirection in ResourceService
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-09-23 15:37:56 +10:00
Greg Wilkins
aa793eeafe
Jetty 10.0.x 6497 alias checkers alt ( #6681 )
...
* Issue #6497 - Replace the Alias checkers with new implementation.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
2021-09-21 18:35:51 +10:00
Joakim Erdfelt
d5da842ea8
Issue #6544 - Remove braces
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-30 07:32:19 -05:00
Joakim Erdfelt
4d35dd736d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-6544-gziphandler-excludedMimeTypes
2021-07-30 07:25:18 -05:00
Joakim Erdfelt
1bdb69dc07
Issue #6544 - Fixing broken `jetty.gzip.excludedMimeTypeList` property support
...
+ Adding GzipHandler tests
+ Adding Gzip module tests
+ Updating jetty-gzip.xml for
includedMimeTypesList and
excludedMimeTypesList behavior
+ Adding GzipHandler support for
setIncludedMimeTypesList(String) and
setExcludedMimeTypesList(String
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 11:36:56 -05:00
Joakim Erdfelt
fdc210f382
Remove unused imports
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-27 08:03:00 -05:00
Joakim Erdfelt
fd7a399e78
Issue #6487 - expose ServletHolder in ChainEnd
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-08 16:21:20 -05:00
Joakim Erdfelt
c245a70893
Updating to version 10.0.7-SNAPSHOT
2021-06-29 10:51:22 -05:00
Joakim Erdfelt
37e7731b4b
Updating to version 10.0.6
2021-06-29 10:27:56 -05:00
Lachlan
3c32afa05c
Issue #6473 - canonicalPath refactor & fix alias check in PathResource (Jetty-10) ( #6478 )
...
Issue #6473 - canonicalPath refactor & fix alias check in PathResource
* Reverted %-escape handling for URI query parts.
* Performing canonicalization in ServletContext.getResource(),
and improving alias checking in ContextHandler.getResource().
* Performing canonicalization checks in Resource.addPath() to avoid
navigation above of the root.
* Test added and fixed.
* Various cleanups.
* Improved javadoc and comments
* Compliance mode HttpURI uses UriCompliance.Violation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-06-29 15:42:39 +02:00
Joakim Erdfelt
9945225e30
Issue #6451 - Request.getServletPath returns null for root mapping
...
Issue #6451 - Request.getServletPath not following spec
Force a pathInContext for ROOT servlet matches.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2021-06-22 08:43:15 +10:00
Joakim Erdfelt
9d2d1e29b7
Updating to version 10.0.6-SNAPSHOT
2021-06-11 09:42:42 -05:00
Joakim Erdfelt
dc21b2d73c
Updating to version 10.0.5
2021-06-11 09:18:00 -05:00
Joakim Erdfelt
987066aac1
Updating to version 10.0.5-SNAPSHOT
2021-06-04 13:28:47 -05:00
Joakim Erdfelt
5523480c54
Updating to version 10.0.4
2021-06-04 13:09:44 -05:00
Simone Bordet
9ace21992e
Updated POM versions to 10.0.4-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-05-21 17:07:46 +02:00
Lachlan
cd73338b84
Remove WebSocketComponents & HouseKeeper on Server restart. ( #6218 )
...
* Remove WebSocketComponents & HouseKeeper on Server restart.
* Add testing for cleanup of websocket when stopping server.
* Add removeFilterHolder and removeFilterMapping methods on ServletHandler.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-05-20 14:48:23 +02:00
Greg Wilkins
804630d41e
Jetty 10.0.x servletholder copy #6280 ( #6281 )
...
Copy ServletHolder class/instance properly during startWebapp (#6214 )
ServletHolder.copyClassServlet() method added to correctly copy held class.
Cherry picked from 9.4
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-05-16 20:01:03 +10:00
Greg Wilkins
f26af79d38
Fix #3764 DeprecationWarning decorator
...
Add in doStart
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-05-12 20:46:43 +10:00
Olivier Lamy
a0796d1055
Updating to version 10.0.3-SNAPSHOT
2021-03-26 06:31:31 +00:00
Olivier Lamy
7bd207b309
Updating to version 10.0.2
2021-03-26 06:13:42 +00:00
Olivier Lamy
d27363fa55
back to 10.0.2-SNAPSHOT
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-03-26 06:10:47 +00:00
Jesse McConnell
7a9e01ac56
Updating to version 10.0.3-SNAPSHOT
2021-03-25 10:38:15 -05:00
Jesse McConnell
aac6bfbd48
Updating to version 10.0.2
2021-03-25 10:21:44 -05:00
Simone Bordet
6fca106160
Reverted version to 10.0.2-SNAPSHOT.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-03-25 16:02:45 +01:00
Olivier Lamy
3d0574d64c
Updating to version 10.0.3-SNAPSHOT
2021-03-25 04:10:39 +00:00
Olivier Lamy
ab235ad687
Updating to version 10.0.2
2021-03-25 03:57:25 +00:00
Greg Wilkins
c59de808f1
Fix #5835 Durable filters and servlets ( #6027 )
...
Fix #5835 Durable filters and servlets with a general ServletHandler cleanup
update indexes after updating mapping
update mappings/indexes before destroyed listeners
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-03-22 11:28:25 +01:00
Joakim Erdfelt
2710f22e53
Issue #6028 - Adding test of Request.getContextPath() for root context
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-03 15:04:41 -06:00
Greg Wilkins
06e1a7e88d
URI compliance modes for #6001 ( #6006 )
...
* Fix #4275 separate compliance modes for ambiguous URI segments and separators
default modes allows both ambiguous separators and segments, but still forbids ambiguous parameters
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-03-02 11:59:16 +01:00
gregw
2001f9f963
fixed bad merge
2021-02-24 12:33:29 +01:00
olivier lamy
0f32e264a2
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2021-02-23 10:38:05 +10:00
olivier lamy
b836c2fda3
add test for fix containsHeader test when it is not instance of Response, Issue #5977 was partially fixed
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-02-23 10:32:00 +10:00
Joakim Erdfelt
8ed8dc62e3
Updating to version 10.0.2-SNAPSHOT
2021-02-19 13:06:42 -06:00
Joakim Erdfelt
d0bfd9145d
Updating to version 10.0.1
2021-02-19 12:43:50 -06:00
Joakim Erdfelt
ea2a76ed3b
Updating to version 9.4.38-SNAPSHOT
2021-02-19 09:44:28 -06:00
Joakim Erdfelt
27afab2bd3
Updating to version 9.4.37.v20210219
2021-02-19 09:03:57 -06:00
Jan Bartel
3a32a80b9c
Unify the handling of ServletContainerInitializers ( #5959 )
...
* Unify ServletContainerInitializer handling.
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-02-19 10:20:27 +01:00
gregw
bb5fefdaeb
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2021-02-18 17:44:46 +01:00
Greg Wilkins
324ab668de
More optional etag gzip fixes for #5979 ( #5986 )
...
* More optional etag gzip fixes for #5979
IF no separator defined, do not add a suffix to an etag.
Some cleanup of the implementation.
* More optional etag gzip fixes for #5979
updates from review
2021-02-18 17:24:16 +01:00
olivier lamy
5857496ef2
fix header
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-02-18 09:50:14 +10:00
olivier lamy
1d5662f841
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2021-02-18 07:44:37 +10:00
Olivier Lamy
addfbe81c1
Issue #5977 do not force Cache-Control header if already set ( #5978 )
...
* Issue #5977 do not force Cache-Control header if already set
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-02-18 07:29:24 +10:00
Greg Wilkins
a8b4927427
Fix #5979 by allowing a configurable etag separator. ( #5980 )
...
* Fix #5979 by allowing a configurable etag separator.
Fix #5979 by allowing a configurable etag separator
* updates from review
* Updates from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-02-17 22:19:23 +01:00