On 24/Nov/10 12:56, Sam Varshavchik wrote: > Alessandro Vesely writes: >> On 24/Nov/10 00:19, Sam Varshavchik wrote: >> >>> sqwebmail does some aggressive sanitizing in order to block potential >>> XSS attempts. I don't have the time to keep track exactly how various >>> browsers handle malformed html. If something looks wrong, it gets >>> nuked. >> >> I suspect there may be a bug with that nuking, because I saw the '<'s >> and '>'s as bare chars rather than &-entities, in the source viewer. > > That's part of it. When an entire tag is deemed to be suspect, > sqwebmaild removes its entire contents, but the < > are left alone.
Aha, so it isn't a bug. But what is the purpose of leaving those relics? I mean, if the sanitizing code could also remove angle brackets for the same price, why it doesn't it do so? -- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
