diff --git a/AUTHORS.md b/AUTHORS.md index 691b5d7ee..8398e0cb5 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -114,6 +114,7 @@ date of first contribution): * [Florian Heilmann](https://github.com/FHeilmann) * [Ludovico de Nittis](https://github.com/RyuzakiKK) * [Dominik Paľo](https://github.com/DominikPalo) + * [Kelly Anderson](https://github.com/cbxbiker61) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..8abfa9145 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,11 @@ +# Security Policy + +## Supported Versions + +Always update to the latest version of OctoPrint to keep up with security patches. + +## Reporting a Vulnerability + +Email to security@octoprint.org. + +For the sake of the userbase of OctoPrint please always disclose responsibly and with a 90+ day window. diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index 4fd1f471d..d9029317c 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -854,7 +854,7 @@ class PreemptiveCache(object): with self._lock: all_data = self.get_all_data() - for root, entries in all_data.items(): + for root, entries in list(all_data.items()): old_count = len(entries) entries = cleanup_function(root, entries) if not entries: