Incorrect HTML/XML entity escaping in messages.rss

Avatar

Ivan Vučica

11 months ago

Hi,

I'd like to point out (again :P) about this bug in RSS:

... I%amp;apos;ve ... (with % being an ampersand)

As far as I understand RSS, it has entity-escaped HTML embedded inside XML element , not XML inside XML, and according to this source "apos" is not an HTML entity.

Additionally, text inside is not HTML, it's plain text, and should not contain any HTML, escaped or otherwise.

Please see how YATC's RSS feed is being parsed by FeedBurner.

I also have a disturbing example in the signature image generated by FeedBurner.

Hope you fiddle with this a little, it shouldn't be that hard :)

Cheers!


Avatar

Ivan Vučica

11 months ago

Bump! Anything happening?


Avatar

Jason Allen

11 months ago

Hi Ivan,

Sorry for the delay in response. I'll be jumping on this tomorrow - shouldn't take long (famous last words ;-).


Avatar

Jason Allen

11 months ago

hi Ivan,

Sorry - finally got around to this. Looks like messages entered through jabber/IM are being entered "already encoded" therefore, when we render them for RSS, we re-escape it.

This should be fairly simple to fix - soon.


Avatar

Jason Allen

11 months ago

Hi Ivan,

New journal messages entered via jabber/IM will no longer suffer this problem. Let me know if its worth it for you to have me go fixup past posts (already in the database).


Avatar

Ivan Vučica

11 months ago

Thanks for looking into this ;)

If it would be possible for you to fix those few posts I made, I would be eternally grateful.

I simply love the journaling feature :)