View Issue Details

IDProjectCategoryView StatusLast Update
0025619mantisbtemailpublic2020-01-10 19:37
Reporterrogueresearch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version2.19.0 
Summary0025619: $g_limit_email_domains impacts custom e-mail fields, which is unexpected from its documentation
Description

The Admin Guide here:
http://www.mantisbt.org/docs/master/en-US/Admin_Guide/Admin_Guide.pdf

says:

"$g_limit_email_domains - Only allow and send email to addresses in the given domain(s). This is useful as a security feature and it is also useful in cases like Sourceforge where its servers are only limited to send emails to SourceForge email addresses in order to avoid spam. $g_limit_e- mail_domains = array( 'users.sourceforge.net', 'sourceforge.net' );"

After setting this to:

$g_limit_email_domains = array( 'rogue-research.com' );

I am no longer able to edit issues that use a 'custom field' of 'e-mail' type, mantis will report:

APPLICATION ERROR 0001303
Invalid value for field "Customer Email"

My customers of course don't have emails in my own domain. :)

From its documentation, I wouldn't have expected that $g_limit_email_domains limit what can go into database fields, but only to limit emails that mantis actually sends out.

TagsNo tags attached.

Activities

rogueresearch

rogueresearch

2020-01-10 19:16

reporter   ~0063423

Hmmm, I just tried in Mantis 2.23.0 on a test server, and don't seem to reproduce it anymore...

Did someone fix this?

I'll try again on my production server once I update it too...

dregad

dregad

2020-01-10 19:37

developer   ~0063424

I don't think this has been touched. Maybe it was caused by your setup. Please let us know after checking, whether the problem is indeed fixed, so we can resolve this issue.

Issue History

Date Modified Username Field Change
2019-03-18 11:40 rogueresearch New Issue
2020-01-10 19:16 rogueresearch Note Added: 0063423
2020-01-10 19:37 dregad Status new => feedback
2020-01-10 19:37 dregad Note Added: 0063424