AndersDJohnson / AndersDJohnson/jackson-json-reference
Destroys UNC paths after URI#resolve
- Lingua principale
- Java
- Stelle
- 22
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.