OpenSearch/modules
Tim Brooks 27b7d9bd8d Add FileSystemUtil method to read 'file:/' URLs (#23020)
As part of #22116 we are going to forbid usage of api
java.net.URL#openStream(). However in a number of places across the
we use this method to read files from the local filesystem. This commit
introduces a helper method openFileURLStream(URL url) to read files
from URLs. It does specific validation to only ensure that file:/
urls are read.

Additionlly, this commit removes unneeded method
FileSystemUtil.newBufferedReader(URL, Charset). This method used the
openStream () method which will soon be forbidden. Instead we use the
Files.newBufferedReader(Path, Charset).
2017-02-07 10:24:22 -06:00
..
aggs-matrix-stats Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
ingest-common Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
lang-expression Remove GeoPointFieldMapper abstraction 2017-02-06 14:17:21 -06:00
lang-mustache Add support for newline delimited JSON Content-Type (#22947) 2017-02-07 09:20:06 -05:00
lang-painless Make dates be ReadableDateTimes in scripts (#22948) 2017-02-06 16:44:56 -05:00
percolator Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
reindex Add FileSystemUtil method to read 'file:/' URLs (#23020) 2017-02-07 10:24:22 -06:00
repository-url Remove connect SocketPermissions from core (#22797) 2017-02-03 09:39:56 -06:00
transport-netty4 Remove connect SocketPermissions from core (#22797) 2017-02-03 09:39:56 -06:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00