Oznámení

Provoz fóra byl ukončen

Problem with e-mail parsing

před 12 lety

fusion5
Člen | 2

Hi, I'm using Texy2 and I have a problem with e-mails.

I have deactivated obfuscation, but that's not the point. The problem is:

When using name@12345678901234567890.com as an e-mail, the output is correct in the browser.
However, after loading this content inside Adobe Flash, thre's an extra dash character (-) making the url look like

name@123456789-01234567890.com

The strange thing is, after I copy the URL from the flash text field, the dash disappears!
I this is an encoding related problem.

I also tested with much longer domain names and the dash appeared multiple times!

Is this a bug in Texy or in flash? How should I work around it?

Thanks
Dragos from Romania

před 12 lety

David Grudl
Nette Core | 6806

This is in Texy is this is… feature ;) Fortunally, it can be disabled by $texy->allowed['longwords']=FALSE

před 12 lety

fusion5
Člen | 2

Texy rocks as always! Such a quality component could be better documented though
Thanks for the support, it solved the problem.