sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
183 stars 22 forks source link

Fix compromise detection #179

Closed nivex closed 4 years ago

nivex commented 4 years ago

Compromise detection has inverted logic handling response_code and did not honor the settingsFilename variable.

nethope commented 4 years ago

On a relatively new Linode running Ubuntu bionic, I couldn't get Pepperminty Wiki past Error: peppermint.json.compromised exists on disk, so it's likely you need to block access to 'peppermint.json' from the internet. If you've done this already, please delete peppermint.json.compromised and reload this page. despite blocking access to peppermint.json (curl got 403). Changing the logic from OR to AND got me past the first run checks.

sbrl commented 4 years ago

Released v0.20.1-hotfix1: https://github.com/sbrl/Pepperminty-Wiki/releases/tag/v0.20.1-hotfix1

Thanks @nivex and @nethope!