Description
When caching following URLs:
- http://wilson.com/en-us/blog (no extension)
- http://wilson.com/en-us/blog/basketball/events/wilson-takes-paris-storm-recap-nba-paris-game-2024
Request 1. will create local file <cache_folder>/en-us/blog
Then, caching 2. (or any other /en-us/blog/** path) will fail as it cannot create folder <cache_folder>/en-us/blog (as the path already exists as a file)
To Reproduce
- Start the AEM importer
aem import --cache /tmp/cache
- In the importer UI, import http://wilson.com/en-us/blog
- Check
/tmp/cache/en-us/blog file got created
- Import http://wilson.com/en-us/blog/basketball/events/wilson-takes-paris-storm-recap-nba-paris-game-2024
=> Notice the cached file is not created + error message in the CLI log
Expected behavior
The CLI should handle such case.