| Summary | "My email adresses" and "Addresses to not send responses to" fields are not checked for valid email address |
| Queue | Ingo |
| Queue Version | 1.2 |
| Type | Enhancement |
| State | Assigned |
| Priority | 2. Medium |
| Owners | Horde Developers |
| Requester | yann (at) pleiades (dot) fr (dot) eu (dot) org |
| Created | 08/28/2008 (1756 days ago) |
| Due | |
| Updated | 12/13/2010 (919 days ago) |
| Assigned | 09/23/2008 (1730 days ago) |
| Resolved | |
| Attachments | horde_form_type_longemail_for_ingo_v3.patch ![]() |
| Milestone | |
| Patch | Yes |
moved to Git queue?
State ⇒ Assigned
New Attachment: horde_form_type_longemail_for_ingo_v3.patch
State ⇒ Feedback
Type ⇒ Enhancement
State ⇒ Feedback
version does not contain the actual code for the
Horde_Form_Type_longemail class.
New Attachment: horde_form_type_longemail_for_ingo_v2.patch
longemail form type also for the "Address(es) to forward to" field for
transfert.
Assigned to
State ⇒ Assigned
Priority ⇒ 2. Medium
Patch ⇒ Yes
New Attachment: horde_form_type_longemail_for_ingo.patch
I modified my patch so the longemail type is defined only in ingo.
Note that this patch still considers an address without the domain
part to be invalid.
Is this behavior ok ?
you can't simply add a feature to Horde and use it an application like
Ingo without breaking that backward compatibility.
the new type in Ingo only solves the problem. Could you explain me so
I can improve the patch ?
State ⇒ Feedback
Patch ⇒ No
validity outside of the form validation, or you have add the new form
field type to Ingo only.
New Attachment: horde_form_type_longemail.patch
I created a Horde_Form_Type_longemail class extended from
Horde_Form_Type_longtext, which in addition checks the validity of the
given emails.
What do you think about this solution ?
You will notice that the longemail type also checks if the email
address have a @domain part, I am not sure if this should be done here.
sieve doesn't like address without domain, it complains with the
following error:
script errors: line 8: address 'test': parse error, unexpected $,
expecting '@'
but that might be solved differently by adding the default domain to
unqualified address before sending them to the sieve driver.
State ⇒ Unconfirmed
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ "My email adresses" and "Addresses to not send responses to" fields are not checked for valid email address
Type ⇒ Bug
Priority ⇒ 1. Low
in the "My email adresses" and "Addresses to not send responses to"
are not checked for validity.
This can cause a problem with the rules driver, for example sieve will
return an error message is the email address is not rfc 822 compliant.