discourse/lib/compression
Roman Rizzi 10565e4623
SECURITY: Safely decompress files. (#8124)
* FEATURE: Adds an extra protection layer when decompressing files.

* Rename exporter/importer to zip importer. Update old locale

* Added a new composite class to decompress a file with multiple strategies

* Set max file size inside a site setting

* Ensure that file is deleted after compression

* Sanitize path and files before compressing/decompressing
2019-10-03 10:19:35 -03:00
..
engine.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00
gzip.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00
pipeline.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00
strategy.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00
tar.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00
zip.rb SECURITY: Safely decompress files. (#8124) 2019-10-03 10:19:35 -03:00