refactor(file): improve path handling and validation (#82)

* refactor(file): improve path handling and validation

* fix: update XML escaping to use escapeXml10 for improved compatibility

* feat(mime): integrate Apache Tika for content-based MIME detection across services

* test: enhance MultipartFile tests with input stream handling and content type validation
This commit is contained in:
brios
2026-04-22 17:27:08 -04:00
committed by Zach Yale
parent 2ecd35296d
commit cbd04eec8e
20 changed files with 523 additions and 227 deletions
+3
View File
@@ -149,6 +149,9 @@ dependencies {
implementation("org.tukaani:xz:1.12") // Required by commons-compress for 7z support
implementation("org.apache.commons:commons-text:1.15.0")
// --- MIME Detection ---
implementation("org.apache.tika:tika-core:3.3.0")
// --- XML Support (JAXB) ---
implementation("jakarta.xml.bind:jakarta.xml.bind-api:4.0.5")
runtimeOnly("org.glassfish.jaxb:jaxb-runtime:4.0.7")