incorporeal-cms/incorporealcms
Brian S. Stephan 88b678931e
properly handle symlinks as relative to the output dir
the code meant to make symlinks relative to the output directory, but
only actually succeeded at it for targets in the root of the output
directory; since we already check that the target is not breaking out of
the instance, we can generate the output symlink relative to itself and
fix the subdirred-symlink behavior

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-21 11:43:18 -05:00
..
mdx go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
static go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
templates go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
__init__.py go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
config.py go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
error_pages.py go back to using the "or any later version" clause of GPLv3 2025-03-21 08:22:49 -05:00
feed.py remove os.chdir usage, rely on absolute and relative paths more 2025-03-21 10:47:42 -05:00
markdown.py remove os.chdir usage, rely on absolute and relative paths more 2025-03-21 10:47:42 -05:00
ssg.py properly handle symlinks as relative to the output dir 2025-03-21 11:43:18 -05:00