[horde] Unclear error message - any hints?

Oscar del Rio delrio at mie.utoronto.ca
Tue Jun 13 16:50:49 UTC 2017


On 06/13/17 11:23 AM, Jens-U. Mozdzen wrote:
> I have three "external accounts" in my Horde webmail interface, one of them 
> generates an "interesting" error message.
>
> I have logged in to that account via Horde (as well as to the other two) and 
> see the corresponding "inbox" folder in the navigation tree on the left of 
> the IMP window. When clicking that folder entry, the folder is opened in the 
> right pane and I see a red popup stating "contains hyphen at position three 
> and four" (original message is German: "Enthält Bindestrich an der dritten 
> und vierten Stelle"). Horde's log does not list any messages when this happens.
>
> Any idea what component might be delivering that error message - and why?
>

Source code:
https://github.com/horde/horde/blob/master/framework/Idna/locale/de/LC_MESSAGES/Horde_Idna.po#L32
#: lib/Horde/Idna.php:63
msgid "Contains hyphen in the third and fourth positions"
msgstr "Enthält Bindestrich an der dritten und vierten Stelle"

https://github.com/horde/horde/blob/master/framework/Idna/lib/Horde/Idna.php#L82
* Checks if the $idna_info parameter of idn_to_ascii() or idn_to_utf8()
* contains errors.

https://tools.ietf.org/html/rfc5891#section-4.2.3.1
4.2.3.1. Hyphen Restrictions
    The Unicode string MUST NOT contain "--" (two consecutive hyphens) in
    the third and fourth character positions and MUST NOT start or end
    with a "-" (hyphen).

no idea why you are getting that, but the above might help you debug.



More information about the horde mailing list