AsmBB

Power
Login Register

Bug in render thread: showthread.asm
0

#16282 (ツ) ganuonglachanh
Created 24.07.2022, read: 49 times

Hi johnfound

There's a bug in render the page in showthread.asm with post_view.tpl:

The final render result will overwrite 1 byte (?) in post_view.tpl

To check, if you edit the post_view.tpl and has the last content is </div> (no space or \r \n at the end) then in the render will result "</div" (missing last char is ">" )

I think the bug is in RenderTemplate but not carefull checked, currently fix is add some spaces at the end of post_view.tpl (and may be every tpl file)

Bug in render thread: showthread.asm
0

AsmBB v2.9 (check-in: 42b4bf25137cf180); SQLite v3.31.1 (check-in: 3bfa9cc97da10598);
©2016..2020 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE