Skip to content

Commit d8fb9ac

Browse files
committed
Set release version to 1.2.18
1 parent 1d64cda commit d8fb9ac

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## Unreleased
4+
5+
## 1.2.18
46
### Improvements
57
- Add DB_PORT config value to specify a non-standard MySQL server port (#1213)
68
- Add new config flag to permit IMAP login without full email as username (#1211)

mailscanner/functions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function getVirusRegex($scanner = null)
251251
*/
252252
function mailwatch_version()
253253
{
254-
return '1.2.17';
254+
return '1.2.18';
255255
}
256256

257257
/**
@@ -405,7 +405,7 @@ function html_start($title, $refresh = 0, $cacheable = true, $report = false)
405405
echo '<td align="center" valign="top">' . "\n";
406406
printTodayStatistics();
407407
echo ' </td>' . "\n";
408-
408+
409409
echo ' </tr>' . "\n";
410410

411411
printNavBar();
@@ -2996,7 +2996,7 @@ function ldap_authenticate($username, $password)
29962996
break;
29972997
}
29982998
}
2999-
2999+
30003000
if (!isset($email)) {
30013001
//user has no mail but it is required for mailwatch
30023002
return null;
@@ -4954,7 +4954,7 @@ function getHTTPClientIP()
49544954
if (defined('PROXY_HEADER') && (! isset($_SERVER[PROXY_HEADER]) || empty($_SERVER[PROXY_HEADER]))) {
49554955
return $remote_addr;
49564956
}
4957-
4957+
49584958
//check if remote_addr is a trusted proxy:
49594959
if (! in_array($remote_addr, TRUSTED_PROXIES)) {
49604960
return $remote_addr;

0 commit comments

Comments
 (0)