diff --git a/html/includes/common/alerts.inc.php b/html/includes/common/alerts.inc.php
index 23f9263100..52830fea94 100644
--- a/html/includes/common/alerts.inc.php
+++ b/html/includes/common/alerts.inc.php
@@ -230,7 +230,7 @@ var alerts_grid = $("#alerts_'.$unique_id.'").bootgrid({
return "";
},
"proc": function(column,row) {
- return "";
+ return "";
},
"severity": function(column,row) {
var eventColor = "info";
diff --git a/html/includes/forms/open-proc.inc.php b/html/includes/forms/open-proc.inc.php
index a7e236f64d..534bf4c0b2 100644
--- a/html/includes/forms/open-proc.inc.php
+++ b/html/includes/forms/open-proc.inc.php
@@ -21,7 +21,7 @@ if (!is_numeric($alert_id)) {
$proc = dbFetchCell('SELECT proc FROM alerts,alert_rules WHERE alert_rules.id = alerts.rule_id AND alerts.id = ?', array($alert_id));
if (($proc == "") || ($proc == "NULL")) {
echo header("HTTP/1.0 404 Not Found");
- } elseif (! preg_match('/^http:\/\//', $proc)) {
+ } elseif (! preg_match('/^http[s]*:\/\//', $proc)) {
echo "ERROR";
} else {
echo $proc;