HomePhorge

Update rcube_utils::parse_host, fixes #6746

Description

Update rcube_utils::parse_host, fixes #6746

Updated regexps used in parse_host to ensure that %t, %d, %z do not cut off domain and return only tld when underlying host has no subdomain (i.e., is just domain.tld rather than mail.domain.tld). Update fixes #6746, now returns nothing shorter than domain.tld.

Also removed backslash from character class, period does not need to be escaped within character class.

Details

Provenance
Amir Caspi <cepheid666@users.noreply.github.com>Authored on May 11 2019, 6:03 AM
machniakCommitted on May 19 2019, 6:32 AM
mollekopfPushed on Aug 21 2023, 3:06 PM
Parents
R3:7c8ce07e8cb3: Fix bug where bold/strong text was converted to upper-case on html-to-text…
Branches
Unknown
Tags
Unknown

Event Timeline