mailcow/data/web/inc
Sven Michels b39ac8f649 [Web] Fix: spf record validation failed with redirect
When using a redirect in your SPF record, the web UI validation
failed when your record contained a ipv6 address. In
web/inc/ajax/dns_diagnostics.php the function get_spf_allowed_hosts
is called with the second parameter to be true to expand ipv6
addresses. But when called for redirects, the value was not set to
true, so it defaulted back to false. This caused an unexpanded ipv6
address to be added to the array and the in_array match for ipv6
never matched as it is always called with expand_ipv6.
While looking at the code i noted some messed up in the indention,
which is also "fixed" by this commit.
2021-05-28 23:48:15 +02:00
..
ajax [Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility; 2021-05-22 12:13:37 +02:00
lib [Web] Update libs 2021-05-23 13:20:53 +02:00
presets [Rspamd] Handle Postmaster in and outbound as trusted 2020-10-25 10:34:13 +01:00
footer.inc.php [Web] Small UI fixes 2021-05-23 23:09:37 +02:00
functions.acl.inc.php [Web] Remove External as standard subfolder for sync jobs 2020-04-19 14:41:55 +02:00
functions.address_rewriting.inc.php [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int) 2020-09-17 19:49:15 +02:00
functions.admin.inc.php [Web] Fix password check typo from 19843cc (#4056) 2021-04-15 08:44:45 +02:00
functions.app_passwd.inc.php [Web] Fix XSS in app password names 2021-05-07 14:49:21 +02:00
functions.customize.inc.php [Web] Allow ratelimit time frame "day"; Allow to create announcements 2020-05-11 11:52:02 +02:00
functions.dkim.inc.php [Web] Feature: Add password policy 2021-04-09 13:46:17 +02:00
functions.docker.inc.php [Web] More secure compose project name check 2020-07-11 13:32:40 +02:00
functions.domain_admin.inc.php [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication 2021-04-13 21:34:47 +02:00
functions.fail2ban.inc.php [Web] Remove debugging points 2021-04-18 12:53:59 +02:00
functions.fwdhost.inc.php [Web] Fixes for BCC map input fields 2018-08-13 23:20:40 +02:00
functions.inc.php [Postfix] Allow to set and override a relayhost per mailbox 2021-05-26 14:02:27 +02:00
functions.mailbox.inc.php [Postfix] Allow to set and override a relayhost per mailbox 2021-05-26 14:02:27 +02:00
functions.mailq.inc.php [Web] Return json array when mailq empty, fixes #3738 2020-09-06 11:59:36 +02:00
functions.oauth2.inc.php [Web] Do not allow to add domain admin for non existing domain 2019-10-02 19:00:36 +02:00
functions.policy.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.presets.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.pushover.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.quarantine.inc.php [Web] Fix order of fuzzy del and fuzzy add when learning from quarantine, fixes #3844 2020-11-07 21:46:39 +01:00
functions.quota_notification.inc.php [Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses 2021-05-23 13:18:52 +02:00
functions.ratelimit.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.rspamd.inc.php [Web] Fix textarea number width > 999 2021-03-08 12:36:23 +01:00
functions.tls_policy_maps.inc.php [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int) 2020-09-17 19:49:15 +02:00
functions.transports.inc.php [Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik 2021-05-28 10:40:41 +02:00
functions.xmpp.inc.php [Web] Add TLS 1.3 to XMPP site, should fix #4064 2021-04-18 20:55:29 +02:00
header.inc.php [Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses 2021-05-23 13:18:52 +02:00
init_db.inc.php [Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik 2021-05-28 10:40:41 +02:00
prerequisites.inc.php [Web] WIP: Add BSI CA 2021-04-07 21:29:28 +02:00
sessions.inc.php [Web] Allow CIDR as allowed API networks; other minor fixes 2020-05-04 07:51:50 +02:00
spf.inc.php [Web] Fix: spf record validation failed with redirect 2021-05-28 23:48:15 +02:00
triggers.inc.php [Web] Important: Do not allow API actions with r/o session key, THANKS TO Samuel Oosterholt 2021-05-20 15:51:52 +02:00
vars.inc.php [Rspamd] Create bad header map 2021-05-23 23:13:34 +02:00