fixed #9816: Syndicated content asset fails on feeds including a UTF8 BOM

This commit is contained in:
Graham Knop 2009-04-14 20:51:44 +00:00
parent 7376100540
commit 383fa9a5e5
4 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,5 @@
7.7.4 7.7.4
- fixed #9816: Syndicated content asset fails on feeds including a UTF8 BOM
- fixed: Spam in the wiki (#10050) - fixed: Spam in the wiki (#10050)
- fixed: Apply button applies but reloads old content in editor (#9827) - fixed: Apply button applies but reloads old content in editor (#9827)
- fixed: maintenance tasks in parallel (#9921) - fixed: maintenance tasks in parallel (#9921)

View file

@ -7,6 +7,12 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief. save you many hours of grief.
7.7.4
--------------------------------------------------------------------
* WebGUI now requires XML::FeedPP version 0.40 or greater.
7.7.2 7.7.2
-------------------------------------------------------------------- --------------------------------------------------------------------
* WebGUI now requires Clone version 0.31 or greater. * WebGUI now requires Clone version 0.31 or greater.

View file

@ -153,7 +153,7 @@ sub generateFeed {
# care of any encoding specified in the XML prolog # care of any encoding specified in the XML prolog
utf8::downgrade($value, 1); utf8::downgrade($value, 1);
eval { eval {
my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1); my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1, -type => 'string');
$feed->merge($singleFeed); $feed->merge($singleFeed);
}; };
if ($@) { if ($@) {

View file

@ -95,7 +95,7 @@ checkModule("HTML::Highlight", 0.20 );
checkModule("HTML::TagFilter", 0.07 ); checkModule("HTML::TagFilter", 0.07 );
checkModule("HTML::Template", 2.9 ); checkModule("HTML::Template", 2.9 );
checkModule("HTML::Template::Expr", 0.05, 2 ); checkModule("HTML::Template::Expr", 0.05, 2 );
checkModule("XML::FeedPP", 0.37 ); checkModule("XML::FeedPP", 0.40 );
checkModule("JSON", 2.04 ); checkModule("JSON", 2.04 );
checkModule("Config::JSON", "1.1.2" ); checkModule("Config::JSON", "1.1.2" );
checkModule("Text::CSV_XS", "0.52" ); checkModule("Text::CSV_XS", "0.52" );