Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Email Output Screwed!
Hello all,
When I have instances of code in the
Picture: http://cl.ly/a39a3d08a113dbe71e1e
When I have instances of code in the
Gdn_Format::Email($this->User->Email);
tags it outputs it as linked (look at status bar). How would I go about fixing this?Picture: http://cl.ly/a39a3d08a113dbe71e1e
1
This discussion has been closed.
Comments
http://vanillaforums.org/discussion/12520/duplicate-email-addresses-in-manage-user-panel/#Item_1
Are you perchance using integration to WordPress?
orig:
$(this).html('' + email + '');
change to:
// $(this).html('' + email + '');
$(this).html(email);
note that this removes the mailto-"clickability" of email links.
They are displayed as-is: user@email.address
vanilla actually writes email addresses as useratemaildotadress and lets jQuery (aka javascript) take care of the translation to user@email.address.
But something seems to over-sanitize the HTML and converts < and > into < and > so the generated e-mail link is broken.
I just started with vanilla and I might have another look at this. But I just needed a quick fix and this does the job for me.
see http://img266.imageshack.us/img266/768/img20100904.png
anyway, this seems to be easy (??) to be fixed (by those who are expert in codes)... but till now, no comments or solution!
The fix will be included in the next stable release of Vanilla.