Skip to content

Commit

Permalink
Set release version to 1.2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar committed Oct 19, 2021
1 parent 1d64cda commit d8fb9ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased

## 1.2.18
### Improvements
- Add DB_PORT config value to specify a non-standard MySQL server port (#1213)
- Add new config flag to permit IMAP login without full email as username (#1211)
Expand Down
8 changes: 4 additions & 4 deletions mailscanner/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function getVirusRegex($scanner = null)
*/
function mailwatch_version()
{
return '1.2.17';
return '1.2.18';
}

/**
Expand Down Expand Up @@ -405,7 +405,7 @@ function html_start($title, $refresh = 0, $cacheable = true, $report = false)
echo '<td align="center" valign="top">' . "\n";
printTodayStatistics();
echo ' </td>' . "\n";

echo ' </tr>' . "\n";

printNavBar();
Expand Down Expand Up @@ -2996,7 +2996,7 @@ function ldap_authenticate($username, $password)
break;
}
}

if (!isset($email)) {
//user has no mail but it is required for mailwatch
return null;
Expand Down Expand Up @@ -4954,7 +4954,7 @@ function getHTTPClientIP()
if (defined('PROXY_HEADER') && (! isset($_SERVER[PROXY_HEADER]) || empty($_SERVER[PROXY_HEADER]))) {
return $remote_addr;
}

//check if remote_addr is a trusted proxy:
if (! in_array($remote_addr, TRUSTED_PROXIES)) {
return $remote_addr;
Expand Down

0 comments on commit d8fb9ac

Please sign in to comment.