Avatar

Confirmed! Multiple htmlspecialchars() warnings cleaned up. (Bugs)

by Auge ⌂, Tuesday, March 11, 2014, 17:20 (3670 days ago) @ DeLorean

Hello

Depending on how a web provider configures PHP, multiple warning messages may show up in a user's display involving htmlspecialchars(). …


#patch posting.inc.php
411,413c
if(isset($cookie_parts[1])) $smarty->assign('email',htmlspecialchars(urldecode($cookie_parts[1])));
if(isset($cookie_parts[2])) $smarty->assign('hp',htmlspecialchars(urldecode($cookie_parts[2])));
if(isset($cookie_parts[3])) $smarty->assign('location',htmlspecialchars(urldecode($cookie_parts[3])));
.

I can confirm the bug. The public available source code shows the wrong nesting (2014-03-11). Thank you for your work.

Attention (for all readers): Until Alex corrects the error in the source code an admin has to patch his installation himself.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread