Commit Graph

5 Commits

Author SHA1 Message Date
Andreas Gohr
e82754c523 prevent access of wiki files
This prevents the crawler to descent into the wiki directory or data
directory, even when for some reason a higher up directory was made
accessible. This should prevent the circumvention of ACLs and prevent
access to sensitive data like user password hashes etc.
2024-04-03 14:23:53 +02:00
splitbrain
46bd41a864 🤖 Automatic code style fixes 2024-03-13 11:14:07 +00:00
Andreas Gohr
d6a45e5c9f ignore typical temporary files when listing directories
Operating systems love to cluter the file system with all kinds of
cruft. This adds a gitignore like config to skip those files when
listing files.
2024-03-13 12:12:51 +01:00
Andreas Gohr
05f444a487 style cleanup 2024-02-27 15:57:33 +01:00
Andreas Gohr
28af4b6776 Major Refactoring (will need some cleanup)
This refactors the plugin from one mega syntax file into multiple
classes.

The plugin now focuses on one usecase: listing files that are external
to the wiki and making them downloadable. All other usecases have been
dropped. Also a bunch of other options have been dropped.

A new dispatcher makes it possible to deliver files without the need to
have the webserver pointing at them.
2024-02-27 14:49:08 +01:00