This commit is contained in:
parent
0afabf7835
commit
baca7dba8e
|
@ -40,7 +40,7 @@ object CachingHttpClient {
|
|||
|
||||
private fun getCacheFile(uri: URI): Path {
|
||||
val path = NonsenseGradlePlugin.nonsenseCacheDir.resolve("httpCache")
|
||||
.resolve(uri.host).resolve(uri.rawPath) // Use rawPath to ensure ASCII compat (since this will be a filesystem dir)
|
||||
.resolve(uri.host+uri.rawPath) // Use rawPath to ensure ASCII compat (since this will be a filesystem dir)
|
||||
path.createParentDirectories()
|
||||
return path
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue