AndersDJohnson / AndersDJohnson/jackson-json-reference
Destroys UNC paths after URI#resolve
- Langage dominant
- Java
- Étoiles
- 22
- Forks
- 13
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
UNC paths are destroyed after calling the `URI#resolve` method:
https://github.com/AndersDJohnson/jackson-json-reference/blob/f7d247b3eaa14d92f8d45e6fe44ad3411d26e8e9/jackson-json-reference-core/src/main/java/me/andrz/jackson/JsonReferenceProcessor.java#L266
Example:
``` java
final URI baseUri = new File("//SERVER/some/path").toURI();
System.out.println(baseUri); // -> file:////SERVER/some/path (UNC-Path)
final URI resolved = baseUri.resolve("file.json#");
System.out.println(resolved); // -> file:/SERVER/some/file.json# (no UNC-Path)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.