argnist/StaticSaver — pull request #7 by ahaller (2014-08-05 21:44:54+00:00)
Title: Fixed a bug with category handling

To duplicate the bug:
1. Modify a static check by changing the category.
2. Save.
3. Reload the chunk (modx backend)

The sanitized category name is no longer part of the static file path, so if the file is re-saved (from modx), a duplicate of the chunk will be created at the root of the selected media source.