#dev | Logs for 2017-12-26

« return
[14:06:07] SoyGuest42484 is now known as FatPhil
[14:06:11] -!- FatPhil has quit [Changing host]
[14:06:11] -!- FatPhil [FatPhil!phil@Soylent/Staff/Editor/FatPhil] has joined #dev
[21:53:41] <Bytram> ~blame
[21:54:13] <Bytram> .op
[21:54:13] -!- mode/#dev [+o Bytram] by Hera
[21:54:20] -!- exec [exec!~exec@crutchys.brothel] has joined #dev
[21:54:26] <Bytram> .deop
[21:54:26] -!- mode/#dev [-o Bytram] by Hera
[21:54:37] <Bytram> ~blame
[21:54:38] * exec points at Bytram
[21:54:44] <Bytram> that's better!
[21:55:27] <Bytram> TheMightyBuzzard: You aren't gonna believe what I just stumbled on...
[21:55:41] <Bytram> See the title of my journal entry at: https://soylentnews.org
[21:55:42] <upstart> ^ 03Journal of martyb (76)
[21:55:43] <exec> └─ 13Journal of martyb (76)
[21:55:58] <Bytram> I see: "In Search of: Tests of HTML List Elements (<UL>, <OL>, <LI>)"
[21:56:31] <Bytram> Now look at the title in the "Most Recent Journal Entries" slashbox: "[martyb] In Search of: Tests of HTML List Elements (, , ) "
[22:02:51] <Bytram> It looks like the title is stored in the DB unescaped. SELECT description FROM journals WHERE id = 2890; returns: "In Search of: Tests of HTML List Elements (<UL>, <OL>, <LI>)"
[22:19:29] <Bytram> huh?
[22:19:41] <Bytram> Oh... this is *interesting*
[22:19:45] <Bytram> Look at: https://dev.soylentnews.org
[22:19:46] <upstart> ^ 03Journal of Bytram (4031)
[22:19:48] <exec> └─ 13Journal of Bytram (4031)
[22:20:15] <Bytram> Three things (at least) to note:
[22:20:48] <Bytram> 1) Just after the "Fine Print" text, I see this 'title': "Unescaped <UL> and escaped &lt;UL&gt; in Description; POT"
[22:21:30] <Bytram> 2) In the body text of the journal, which had been copy-pasted from the title, I see: "
[22:21:30] <Bytram> Unescaped
[22:21:30] <Bytram> and escaped <UL> in Journal Description; Plain Old Text
[22:21:30] <Bytram> "
[22:22:37] <Bytram> 3) Then, just below that, and above where I would change Breakthrough, etc. I see: " Unescaped <UL> and escaped <UL> in Description; POT | Preferences | Top | 10000 moderator points | Search Discussion "
[22:24:19] <Bytram> 2B) View source of that text reveals what happened: "<p>Unescaped </p><ul> <li>and escaped &lt;UL&gt; in Journal Description; Plain Old Text</li>"
[22:24:42] <Bytram> looks like the balance-tags code took a stab at fixing things.
[22:26:25] <Bytram> break time