NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Web] Fix: show success message after quarantine action [Git] Add ignore

9860b62d
andryyy <[email protected]> 6 years ago
.gitignore            | 1 +
 data/web/qhandler.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Diff

diff --git a/.gitignore b/.gitignore
index 4268e937..1feb1072 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ data/conf/postfix/allow_mailcow_local.regexp
 data/conf/dovecot/sql
 data/conf/dovecot/lua
 data/conf/dovecot/global_sieve_*
+data/conf/dovecot/sogo_trusted_ip.conf
 data/conf/nextcloud-*.bak
 data/web/inc/vars.local.inc.php
 data/web/css/build/0081-custom-mailcow.css
diff --git a/data/web/qhandler.php b/data/web/qhandler.php
index 91fcd4af..23e66410 100644
--- a/data/web/qhandler.php
+++ b/data/web/qhandler.php
@@ -1,7 +1,7 @@
 <?php
 session_start();
 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
-if (quarantine('hash_details', $_GET['hash']) === false) {
+if (quarantine('hash_details', $_GET['hash']) === false && !isset($_POST)) {
   header('Location: /admin');
   exit();
 }