AndersDJohnson / AndersDJohnson/jackson-json-reference

Destroys UNC paths after URI#resolve

Đang mở
#59 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
22
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.