Bug in serendipity_functions.inc.php

Found a bug? Tell us!!
Post Reply
Guest

Bug in serendipity_functions.inc.php

Post by Guest »

Hi,
I'm running version 0.7.1 and I've found a localization bug in serendipity_functions.inc.php.
Line 2117:

Code: Select all

?><category><?php echo utf8_encode(htmlspecialchars($cat['category_name'])); ?></category><?php
That should be serendipity_utf8_encode() instead of utf8_encode()

This bug was causing UTF8 characters to be displayed incorrectly on the browser for my install.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bug in serendipity_functions.inc.php

Post by garvinhicking »

Hi!

Thanks for finding this, I patched it in CVS!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply