Conversation
Merge changes: - Merged latest changes from main branch RDF Fixes: 1. Remove docker-compose from RDF tests workflow - The postgres-rdf-tests profile uses Testcontainers, not docker-compose - Testcontainers automatically manages PostgreSQL 15 and Jena Fuseki containers - Fixes "no such service: postgresql" error in CI 2. Fix RDF relationship preservation during entity updates - createOrUpdate() was overwriting relationship triples when postCreate() was called - Added extractRelationshipTriples() to preserve existing relationships - Relationships are now properly maintained when entities are updated
| bindHost: ${SERVER_HOST:-0.0.0.0} | ||
| port: ${SERVER_PORT:-8585} | ||
|
|
||
| # Jetty 12 URI Compliance - UNSAFE allows all special characters in entity names |
There was a problem hiding this comment.
Details
The configuration sets uriCompliance: UNSAFE which allows all special characters in URIs including those that could be used for path traversal attacks or URL confusion attacks.
While the comment explains this is needed for backward compatibility with entity names containing /, ", etc., the UNSAFE mode is the most permissive setting and may accept malicious URIs.
Impact: Potential security vulnerability allowing path traversal or other URI-based attacks depending on how entity names are validated downstream.
Recommendation:
- Consider using a more restrictive compliance mode like
LEGACYinstead ofUNSAFEif it satisfies the requirements - Alternatively, create a custom URI compliance mode that only allows the specific characters needed (like
%2Fand%22) while rejecting others - Ensure that entity name validation at the application layer properly sanitizes these special characters before they can cause issues
Example using custom compliance:
UriCompliance.from("CUSTOM")
.with(UriCompliance.Violation.AMBIGUOUS_PATH_SEPARATOR)
.with(UriCompliance.Violation.AMBIGUOUS_PATH_SEGMENT);Was this helpful? React with 👍 / 👎
🔍 CI failure analysis for 32ceede: maven-sonarcloud-ci: 2 test failures with InterruptedException during cleanup - likely test infrastructure timeout issue, NOT related to Jetty 12 upgrade. Combined: 7 total failed jobs, PR health remains at 99%+ passing.Final CI Analysis - All JobsTotal Failed Jobs: 7 jobs analyzed NEW Issue 5: maven-sonarcloud-ci - Test Cleanup FailureJob: 60079467046 Root Cause: InterruptedException During Test CleanupError Details: Analysis: This is NOT related to the Jetty 12 upgrade:
Root Cause Assessment:
Why This is NOT a Jetty 12 Issue:
Solution: The fix should be to:
Complete Summary - All 7 Failed JobsInfrastructure Issues (3 jobs) - ✅ Retry resolves:
External Dependencies (1 job) - ✅ Non-blocking:
Expected Jetty 12 Timing (38 tests) - ✅ Non-blocking:
Genuine Bugs (3 tests) -
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | This comment will update automatically (Docs)
|
|



Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Summary by Gitar
org.eclipse.jetty.ee10.*namespace for Jakarta EE 10 supportJetty12WebSocketHandlerwith annotation-based API to replace incompatibleengine.io-server-jettydependencyCorsFilterFactory,HeaderFactory, etc.) replacing incompatibledropwizard-webmoduleSwaggerBundleandSwaggerResourceto replace incompatibledropwizard-swaggerdependencysetDecodeAmbiguousURIs(true)to allow servlet API methods to handle URIs with encoded special characters (e.g.,%2F,%22) in entity names, resolving Jetty 12 compatibility issuesmaxQueuedRequestsparameter and made virtual threads configurable viaSERVER_ENABLE_VIRTUAL_THREADenvironment variable (defaults tofalse)This will update automatically on new commits.