[patch] wms cache accepting absolute filenames
|Reported by:||bilbo||Owned by:||team|
I found that key controlling cache path have changed (now it is imagery.wms-cache.path for WMS), so I set it to the path I used previously. But in the code it is hardcoded to always create the cache directory under JOSM preferences directory (so when for example "/tmp/cache" is given, cache is created in "~/.josm/tmp/cache" instead of "/tmp/cache").
Attached patch fixes this - when absolute file path is specified, cache is created in that path correctly instead of always prefending preferences directory.