Commit Graph

27733 Commits

Author SHA1 Message Date
Joakim Erdfelt ad5f8c4d15
Proof of concept URIUtil.isHostName 2023-04-19 14:38:22 -05:00
Joakim Erdfelt 43e8c83e24
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-19 11:58:39 -05:00
Joakim Erdfelt a0bb5d1ea8
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-19 11:56:53 -05:00
Joakim Erdfelt 96d2977942
Merge pull request #9646 from eclipse/release-10.0.15
Merge Release 10.0.15 back into `jetty-10.0.x`
2023-04-19 09:28:09 -05:00
Joakim Erdfelt 41b6da7a55
Merge pull request #9647 from eclipse/release-11.0.15
Merge Release 11.0.15 back into `jetty-11.0.x`
2023-04-19 09:26:30 -05:00
Joakim Erdfelt 9ad7f66d8f
Fixing jetty-maven-plugin it tests invoker:install missing deps 2023-04-19 07:56:28 -05:00
Joakim Erdfelt f998745165
Fixing jetty-maven-plugin it tests invoker:install missing deps 2023-04-19 07:56:05 -05:00
Joakim Erdfelt 9c58fca9b9
Fixing jetty-runner it tests invoker install missing deps 2023-04-19 06:37:50 -05:00
Joakim Erdfelt 15c07165ea
Fixing jetty-runner it tests invoker install missing deps 2023-04-19 06:34:53 -05:00
Joakim Erdfelt cc24c2b1ca
Updating VERSION.txt in `jetty-12.0.x` 2023-04-18 13:45:17 -05:00
Joakim Erdfelt 2fc8979d16
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-18 13:44:21 -05:00
Joakim Erdfelt d32c2ee7c2
Updating VERSION.txt in `jetty-11.0.x` 2023-04-18 13:43:57 -05:00
Joakim Erdfelt 21ba7ef11d
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-18 13:42:52 -05:00
Joakim Erdfelt 5babd20c4f
Cleanup VERSION.txt in `jetty-10.0.x`
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-04-18 13:35:45 -05:00
Greg Wilkins 0992e4cec4
Renamed "Core" environment to "Jetty" in `StartArgs` (#9641)
Maintained a "Core" environment for use by deployer for apps that only use core classes plus whatever else is configured for the core environment.
2023-04-14 14:25:50 +02:00
Jan Bartel a354ca7c6c
Issue #9640 Fix servlet mapping for named forwards (#9642) 2023-04-14 01:59:23 +10:00
Jan Bartel d4708d96c2
Issue #9643 fix getRequestURL for forwards (#9644) 2023-04-14 00:10:56 +10:00
Ludovic Orban f28784fe0d #9410 Fix thread-safety of fail() implementations and buffer leaks
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-04-13 11:59:48 +02:00
Ludovic Orban 45db74eee0 #9410 Improved toString() and javadoc
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-04-13 11:59:48 +02:00
Simone Bordet 8fe3dbad16
Fixes #9438 - Jetty 12: Review JakartaWebSocketClientContainer use of… (#9626)
* Simplified the use of reflection.
* Improved `setShutdownContainer()` to take into account multiple web applications,
so it is now a `Map<ClassLoader, ContainerLifeCycle>` so that each web application
has its own container to register `JakartaWebSocketClientContainer` instances.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-13 09:50:18 +02:00
Joakim Erdfelt 1efe9afdf8
Updating to version 11.0.16-SNAPSHOT 2023-04-11 13:53:30 -05:00
Joakim Erdfelt 5bc5e562c8
Updating to version 11.0.15 2023-04-11 13:37:23 -05:00
Joakim Erdfelt ca3c1756ad
Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00
Joakim Erdfelt 68017dbd00
Updating to version 10.0.15 2023-04-11 12:24:32 -05:00
gregw 90de876770 Fixed default for #9444 2023-04-11 11:36:11 +02:00
Lachlan 7ebd07d18d
Merge pull request #9628 from eclipse/jetty-12.0.x-9554-Hpack-Qpack
Issue #9554 - move common hpack/qpack code to jetty-http
2023-04-11 16:07:52 +10:00
Lachlan Roberts 47af2a378f Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-11 14:08:13 +10:00
Lachlan Roberts a77c8798f4 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-11 12:21:22 +10:00
Lachlan 24b7d06fd5
Issue #9464 - Add optional configuration to log user out after OpenID idToken expires. (Jetty-10) (#9528)
* improvements to logout from the OpenIdLoginService validate
* respect idToken expiry for lifetime of login
* fix checkstyle error
* Add respectIdTokenExpiry configuration
* changes from review
* rename respectIdTokenExpiry to logoutWhenIdTokenIsExpired
* changes from review

---------

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-04-11 12:20:16 +10:00
Joakim Erdfelt e927ad258b
Fixing compilation error 2023-04-10 15:25:56 -05:00
Joakim Erdfelt f94977084b
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-10 14:55:27 -05:00
gregw 0de2c60763 Fixed default for #9444 2023-04-10 18:01:58 +02:00
Joakim Erdfelt d35f479f1e
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-10 09:33:29 -05:00
Joakim Erdfelt 81efae2f98
jetty-start cleanup (#9555)
* Extract jars/zips using zipfs
* Restrict MavenMetadata external DTD/XSD access
* Introduce --allow-insecure-http-downloads
* Produce debug log if file exists in destination during copy.
* Simpler MavenMetadata
* If `maven.repo.uri` has been redeclared by user, automatically set allow insecure http downloads.

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-04-10 08:53:58 -05:00
gregw 46eb5c7966 Extended fix from #9629
Allow 400 or EOF for more multipart tests
2023-04-10 13:23:42 +02:00
Simone Bordet ca2d85d8a0
Jetty 12 rehandle welcome files (#8856)
* Introduced WelcomeMode so that now welcome files can be redirected, served, or rehandled.
* Updated ResourceHandler and DefaultServlet accordingly.
* Introduced WelcomeServletMode to replace 2 booleans.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-08 18:59:18 +02:00
Simone Bordet 744b37f80b
Fixes #7608 - Jetty-12 MetaData cleanup needed (#9618)
* Removed unnecessary constructors from MetaData, MetaData.Request and MetaData.Response.
* Removed MetaData.Request.getURIString() (available as getHttpURI().toString()).
* Renamed MetaData.getFields() -> getHttpFields(), as they can be headers or trailers.
* Renamed MetaData.Request.getURI() -> getHttpURI().
* Normalized handling of contentLength, now always -1 (rather than Long.MIN_VALUE) if unknown.
* Permutated MetaData.Response constructor parameters to be consistent with MetaData.Request.
* MetaData.Request's method and httpURI must be non-null.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-07 21:23:01 +02:00
Simone Bordet 110e092a6e
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-06 16:18:58 +02:00
Simone Bordet 3aaaeb2687
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-06 11:25:15 +02:00
Simone Bordet 2c61011de1
Fixes #6184 - JEP-411 will deprecate/remove the SecurityManager from … (#9616)
* Fixes #6184 - JEP-411 will deprecate/remove the SecurityManager from the JVM.

Removed usages of `SecurityManager` and `AccessControlller.doPrivileged()`.
In places where they are still necessary, now using reflection via newly introduced `SecurityUtils` class.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-04-06 10:59:02 +02:00
Lachlan Roberts bd59b40dcd Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-06 09:39:49 +10:00
Lachlan Roberts b96a605681 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-06 09:35:07 +10:00
Lachlan 795315f6ff
Merge pull request #9531 from eclipse/jetty-10.0.x-multiPartTestImprovment
parameterize MultiPartServletTest for complianceModes and add extra test
2023-04-06 09:34:34 +10:00
Joakim Erdfelt 06afedb851
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2023-04-05 16:10:43 -05:00
Joakim Erdfelt 8bbde2983a
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-04-05 16:03:51 -05:00
Joakim Erdfelt 3e42cbfd7b
Fixes #9556 - Better prompt for input on Password (#9557)
* Fixes #9556 - Better prompt for input on Password
* Allow blank username (results in no CRYPT output)
* Error on blank password during input
* Fixing PasswordTest.testCommandLineUsage
* Changes from review

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-04-05 16:02:01 -05:00
Jan Bartel 537697a8c0
Issue #9509 Preserve query string on dispatch() (#9510)
Calculate forwarded queries from servlet API only when requested.

Co-authored-by: gregw <gregw@webtide.com>
2023-04-05 22:46:04 +02:00
Greg Wilkins 10abcbcf8e
Fix MultiPartServletTest race. (#9629)
The writing of the large content may see an EofException before the 400 response has been processed and delivered to the listener.
2023-04-05 22:41:13 +02:00
Ludovic Orban 98c1fe24a2 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-04-05 19:10:07 +02:00
Ludovic Orban 30cbd5a020 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-04-05 18:54:58 +02:00