We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77007e9 commit 2251331Copy full SHA for 2251331
1 file changed
src/main/java/org/spdx/utility/DownloadCache.java
@@ -162,7 +162,8 @@ public void resetCache() throws IOException {
162
}
163
164
/**
165
- * @param url The URL to get an input stream for.
+ * @param url The URL to get an input stream for. Note that redirects issued by this url are restricted to known
166
+ * SPDX hosts. Redirects to other hosts will cause an IOException to be thrown.
167
* @return An InputStream for url, or null if url is null. Note that this InputStream may be of different concrete
168
* types, depending on whether the content is being served out of cache or not.
169
* @throws IOException When an IO error of some kind occurs.
0 commit comments