I've just discovered that for some channel fields (from investigations so far, those that are marked for markdown formatting) {encode email="[email protected]" title="send me an email"}
will that tag as is in the output. Obviously the whole point of using encode was not to expose the raw email address, so how can I get the encoding to work again?
UPDATE: Let me clarify that even though I have an answer up here, I'm looking for a better answer, so that is why I haven't marked mine as accepted yet.
UPDATE 2 After some more poking around I've found that I have this issue in any fieldtype and any channel (as far as my testing has roamed) From discussions with others it doesn't seem to be the case that encode doesn't work in general anymore so it must be either something in my configuration, something in my environment, or something in my install.
I have checked through my config bootstrap and my config.php and see nothing that should be causing this, though I'm not aware of an option for disabling the encode tag, so I don't know what I'm looking for.
My server environment has not had any significant changes recently, I don't think this is likely to be it though I won't rule it out 100% if someone has an idea of an environment related cause that I should look into.
My install is potentially the cause. I have some unreleased (session handling related) code from EllisLab that was necessary to address some security concerns raised by a security audit we performed. This had a bug in it before which caused an issue with doing ajax queries in the control panel. I don't think it is likely that there is a bug in that code causing this, but it is possible. Any guidance on where in the EE codebase I should look for the code that should be doing the transform (the typography class?) I'll jump in and debug it.
The end result of this is that I don't have a good guess for what the cause of this issue is, and would like some help in figuring it out.
UPDATE 3 I can confirm that the code that handles email encoding seems to be in the typography class, but I'm having some difficulty figuring out why my {encode}
tags are not working. I'll put a bounty on this question to try out the bounty system, and to see if I can get an answer to this. I'll be trying to find the answer first. Feel free to beat me to it.
UPDATE 4 I found a partial answer and have posted it in the answers section of this question. Now I'm looking for an answer about why convert_curly is on in my install and how to turn it off without changing a core file.