keeps/commons-ip

Java 8 compatibility with javax library when handling SIPs with URL encoded characters

hmiguim opened this issue · 2 comments

Example:

Filename: PT%2FPT-KEEPS%2FLevel-1%2FLevel-2.zip

Running this code with Java 8 produces an error because the Unmarshaller decode the %2F instead of keeping it.

return (Mets) jaxbUnmarshaller.unmarshal(metsFile.toFile());

Related to #117

Fix on version 2.3.2