Commit Graph

23189 Commits

Author SHA1 Message Date
Joakim Erdfelt 5e2f14fd63
Merge pull request #6534 from eclipse/jetty-10.0.x-update-jdk-build-test
Update Build to work with JDK 17
2021-07-23 11:36:37 -05:00
Joakim Erdfelt 5485f8357e
Fixing profile jdk range start
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 15:30:38 -05:00
Joakim Erdfelt 43954e7325
Fix javadoc issues
+ <td valign=""> attribute not supported
+ bad </p> in @param tag

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:46:00 -05:00
Joakim Erdfelt 730921fcc5
Disable spotbugs & jacoco plugins on JDK17
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:45:13 -05:00
Joakim Erdfelt a37a3f31ca
Add TODO to remove JDK16 builds
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 07:44:42 -05:00
Joakim Erdfelt 3f0660e9e1
Bumping weld to 3.1.8.Final
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-22 05:56:19 -05:00
Joakim Erdfelt bbf1d7a870
Adding build/test for jdk-17 ea releases
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-21 15:51:50 -05:00
Olivier Lamy 6f3a694250
cherry-pick hazelcast remote distribution test from 9.4.x (#6068) (#6516)
* cherry-pick jetty hazelcast remote distribution test from jetty-9.4.x (#6068)

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2021-07-20 15:38:46 +10:00
Joakim Erdfelt cb2aeb3c7a
Issue #6520 - Fixing ErrorHandler output of text/html
+ Updating tests to ensure that output is xml verified
+ Updating output to use `<hr>` element properly.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-16 20:15:55 -05:00
Joakim Erdfelt 94d1a67329
Issue #6515 - Adding Test to ensure that ClasspathPattern doesn't need prepend anymore.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-16 13:37:12 -05:00
Simone Bordet 34c03ddf1d Fixed cross references from "link:#" to "xref:".
Fixed links prepending "link:".
Fixed Asciidoctor errors reported during build.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-16 17:11:13 +02:00
Simone Bordet f240d7ac42 Updated plugin to redact the Jetty version.
This allows to generate the documentation for a version different than the POM's.

Updated Asciidoctor attributes, removing the unused ones and converting them
all to kebab-case (lower case separated by dash), as Asciidoctor requires them
to be lowercase.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-16 17:11:13 +02:00
Lachlan 8f80c59946
Merge pull request #6507 from eclipse/jetty-10.0.x-6277-updateVersionTxt
Issue #6277 - update VERSION.txt with SessionListener CVE number
2021-07-14 10:57:30 +10:00
Joakim Erdfelt 110e8bbbdb
Merge pull request #6511 from eclipse/jetty-10.0.x-6487-expose-chainend-servletholder
Issue #6487 - expose ServletHolder in ChainEnd (Jetty 10)
2021-07-12 07:11:43 -05:00
Jan Bartel a760f71c74
Issue #6431 Update to jasper 9.0.48 (#6436)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-07-12 11:20:40 +10: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 535bd628b3
Merge pull request #6505 from eclipse/jetty-10.0.6-update-versiontxt
Update VERSION.txt (from releases in jetty-9.4.x)
2021-07-08 12:13:02 -05:00
Simone Bordet c1eca6b7b6 Issue 5805 - Documentation images
Now the plantuml generated images will be in the `images/` directory
and any external image linked should also be saved in the `images/` directory.

Unfortunately this does not render well in the IntelliJ editor,
but it renders correctly in the HTML documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2021-07-08 16:44:14 +02:00
Ludovic Orban e1daaed90b #6443 wait for handshake to be done before closing the socket
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-07-08 11:57:39 +02:00
Lachlan Roberts 762608f658 Issue #6277 - update VERSION.txt with CVE number
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-08 17:19:15 +10:00
Joakim Erdfelt 8ef9e0a24f
Update VERSION.txt (from releases in jetty-9.4.x)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-07-07 10:55:49 -05:00
Joakim Erdfelt 92b6f336b6
Merge pull request #6503 from eclipse/release-10.0.6
Merge Release 10.0.6
2021-07-07 08:21:20 -05:00
Olivier Lamy 9a4ee7ad16
Extend stale mechanism to Pull Request. Mark them as stale after 15 days inactivity and not assigned to a project (uhmm not sure if this ignore draft) (#6421)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-07-07 16:53:16 +10:00
Greg Wilkins 8945a58ffc
Reduce header cache memory usage on non persistent requests (#6494)
Delay creating a header cache until a second request on a parser.
Refactored cache code into subclass

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-07-07 12:51:06 +10:00
Lachlan 259f9af9c9
Merge pull request #6490 from eclipse/jetty-10.0.x-6489-UriCompliance
Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
2021-07-06 15:58:51 +10:00
Greg Wilkins b3322f0f43
Update release-template.md (#6484)
Add a notification step in testing.
2021-07-01 21:42:55 +10:00
Lachlan Roberts 76ab749aca Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-01 17:52:07 +10:00
Lachlan Roberts b82b46243d Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-07-01 17:27:17 +10: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
Ludovic Orban c753ca0db5 #6455 disable MaxDuration mechanism in testConnectionMaxUsage as it clashes with the test's assertions
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2021-06-29 10:18:56 +02:00
Lachlan bc0fbbb5c1
Revert logic in Request.setMetaData, clear emptySegment on HttpUri.clear() (#6468)
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Manually merged as ECA checks are broken
2021-06-24 17:18:49 +10:00
Greg Wilkins 4673846635
Compliance modes documentation (#6312)
Added doco on compliance modes

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2021-06-24 15:20:05 +10:00
Joakim Erdfelt 0b96734bbb
Merge pull request #6465 from eclipse/jetty-10.0.x-6464-log4j1-download-location
Issue #6464 - fix logging capture modules
2021-06-23 18:10:05 -05:00
Lachlan d233f3be02
Issue #6447 - Deprecate support for UTF16 encoding in URIs (#6457)
Deprecate support for UTF16 encoding in URIs.
Add compliance mode to allow UTF16 encodings.
Improve testing.
2021-06-23 22:58:49 +10:00
Lachlan c6c881a76c
Merge pull request #6461 from eclipse/jetty-10.0.x-documentationFix
fix some formatting and links in contribution guide
2021-06-23 22:50:38 +10:00
Joakim Erdfelt ca360176b3
Issue #6464 - fix logging capture modules
+ Adding distribution tests for logging module combinations.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-06-23 07:35:38 -05:00
Lachlan Roberts 7880917f64 fix some formatting and links in contribution guide
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2021-06-23 15:48:36 +10:00
Lachlan 1cd0093855
Merge pull request #6411 from eclipse/jetty-10.0.x-6407-ClientUpgradeRequestUri
Issue #6407 - Fix URI validation for WebSocket ClientUpgradeRequest
2021-06-23 10:37:58 +10:00
Greg Wilkins 291218be3c
Fix #6442 Remove IRC documentation (#6454)
Fix #6442 Removed IRC references
2021-06-23 09:14:24 +10:00
Jan Bartel 2c2781a73e
Jetty 10.0.x 6423 service provider osgi headers (#6424)
* Issue #6423 Add headers to jetty manifests to expose o.e.j.w.Configuration for osgi ServiceLoader.

 Add jetty-annotations manifest to expose o.e.j.w.Configuration  to ServiceLoader. 
 Add osgi headers to jetty-quickstart for o.e.j.w.Configuration
 Add osgi serviceloader headers for jetty-cdi
 Add osgi serviceloader headers to websocket-jetty-client
 Add osgi serviceloader headers to jetty-ant
  Add osgi serviceloader headers to websocket-javax-client
 Add osgi serviceloader headers for websocket-jetty-common
 Add osgi serviceloader headers for websocket-core-common

Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-23 08:32:21 +10:00
Olivier Lamy 39572effda
Issue #6434 add integration for testing generated webfrag.xml (#6444)
* Issue #6434 test generation of webfrag.xml and his content

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2021-06-22 17:38:43 +10:00
Jan Bartel c9d919a299
Issue #6426 Upgrade to spifly 1.3.3 (#6449)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-22 16:28:59 +10: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
Simone Bordet 1a594cef60 Fixes #6382 - HttpClient TimeoutException message reports transient values.
Now using consistently HttpConversation.getTimeout() to report the accurate value.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 734d3b672c)
2021-06-21 18:36:02 +02:00
Greg Wilkins 4665f3f718
Update release-template.md
quote parameters
2021-06-21 18:12:32 +10:00
Greg Wilkins 8db318e4f0
Update release-template.md 2021-06-21 18:09:39 +10:00
Lachlan 26f57b5f7c
Merge pull request #6415 from eclipse/jetty-10.0.x-6383-FixFileBufferedResponseHandlerTest
Issue #6383 - Fix flaky test FileBufferedResponseHandlerTest
2021-06-21 16:37:24 +10:00
Jan Bartel b81be78625
Issue #6425 Upgrade to asm 9.1 (#6439)
Signed-off-by: Jan Bartel <janb@webtide.com>
2021-06-21 15:32:21 +10:00