Mailto Links Broken with Unicode Email Encoder
-
I’m using the Email Address Encoder plugin that obscures email address by converting them to Unicode (Decimal and Hex).
When I export with Simply Static, this will break the links (i.e. /community/#109;a#105;l#116;o) as it doesn’t recognize mailto links that might look like:
#x6d;#x61;#x69;#108;to
#109;a#105;l#116;oIf the links could be run through
mb_convert_encoding($txt, 'UTF-8', 'HTML-ENTITIES');, that will convert them back to UTF-8 to check and ignore processing them, keeping the Unicode encoding and not appending a relative URL.I’m just not sure where to put this in the code. I’ve been playing around in
class-ss-url-extractor.phpwithout much luck. My PHP is pretty bad, maybe something with more familiarity of the plugin’s code could advise?Thank you. Love this plugin!
The page I need help with: [log in to see the link]
The topic ‘Mailto Links Broken with Unicode Email Encoder’ is closed to new replies.