JEP 408 - Should path within hidden directories/symlinks be allowed as root path?

2021-11-22 Thread Jaikiran Pai
The newly introduced simple webserver when launched from a directory does necessary checks to disallow serving of hidden files (and symlinks). So if I do something like: cd ~/ java -m jdk.httpserver and then issue a HTTP request against something like localhost:8000/.ssh/known_hosts, then it

Re: JEP 408 - Should path within hidden directories/symlinks be allowed as root path?

2021-11-22 Thread Julia Boes
Hi Jaikiran, On 22/11/2021 09:29, Jaikiran Pai wrote: > The newly introduced simple webserver when launched from a directory > does necessary checks to disallow serving of hidden files (and > symlinks). So if I do something like: > > cd ~/ > > java -m jdk.httpserver > > and then issue a HTTP

Re: RFR: 8275640 (win) java.net.NetworkInterface issues with IPv6-only environments [v2]

2021-11-22 Thread Daniel Jeliński
On Thu, 28 Oct 2021 14:27:15 GMT, Daniel Fuchs wrote: >> Just to clarify, no tests were run. The failure was reported by JTReg >> itself. As of now building Java on Windows requires IPv4. >> >> On a side note, Microsoft created a completely new set of network >> interface-related APIs in Windo

Re: RFR: 8262442 (windows) use all proxy configuration sources when java.net.useSystemProxies=true

2021-11-22 Thread Daniel Jeliński
On Mon, 18 Oct 2021 19:25:12 GMT, Daniel Jeliński wrote: > With this patch DefaultProxySelector first attempts to use proxy config > autodetection (http://wpad/wpad.dat) when that is configured and available. > If proxy config autodetection is unavailable, selector tries to use > configured pro

Re: JEP 408 - Should path within hidden directories/symlinks be allowed as root path?

2021-11-22 Thread Jaikiran Pai
Thank you Daniel and Julia for the clarification. -Jaikiran On 22/11/21 5:47 pm, Julia Boes wrote: Hi Jaikiran, On 22/11/2021 09:29, Jaikiran Pai wrote: The newly introduced simple webserver when launched from a directory does necessary checks to disallow serving of hidden files (and symlinks