Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.0
-
None
-
Unknown
-
N/A
-
N/A
-
Awaiting Committer feedback
-
Description
Hello,
Because of the regexp IP version testing in shareinline.vm, "xwiki.getXWikiPreference('admin_email')" is not used but noreply@domain.net or noreply@$!{serverName} (even if 'admin_email' is filled)
I propose to invert the test like this:
is there a valid admin_email configured?
├ yes: use the admin_email
└ no :is the server name an IP?
_ └ yes: use a generic nodomain.net
_ └ no: use the actual domain name