(This is an actual reenactment of a previous post that got lost in a crash.)
I've found another double-decoding bug when posting a news item from the aggregator to the weblog. When formating the edit page, entites are getting decoded again.
The posting is handled by radio.macros.weblogPostForm, down where it says "if defined (adrGetArgs^.idstory)". radio.strings.decodeEntites is called in a bunch of places, which in turn calls our old friend xml.entityDecode with flAlphaEntites set to true. It's not clear to me at the moment where things really need to be decoded, so I'm not sure if I should make changes in radio.strings.decodeEntites or remove some of the calls to it in radio.macros.weblogPostForm. I *think* everything will have been decoded by the time it's recorded to radio.aggregator.getStoryAddress (adrGetArgs^.idstory) so that you could just get rid of all of the decodeEntites calls, but I'm not yet sure.
6:13:15 PM Categories: Radio
|