Item14332: SafeWikiPlugin does not work with Foswiki 2

pencil
Priority: Urgent
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: SafeWikiPlugin
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Crashes with default configuration attempting to view the SafeWikiPlugin topic.
SAFEWIKI: exception while processing
 Cannot decode string with wide characters at /usr/lib/x86_64-linux-gnu/perl/5.22/Encode.pm line 200.
 at /usr/lib/x86_64-linux-gnu/perl/5.22/Encode.pm line 200.
        Encode::decode("utf-8", "<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"...) called at /var/www/foswiki/distro/core/lib/Foswiki/Plugins/SafeWikiPlugin/Parser.pm line 53
        Foswiki::Plugins::SafeWikiPlugin::Parser::parseHTML(Foswiki::Plugins::SafeWikiPlugin::Parser=HASH(0x3b6a5b0), "<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"...) called at /var/www/foswiki/distro/core/lib/Foswiki/Plugins/SafeWikiPlugin.pm line 97
        eval {...} called at /var/www/foswiki/distro/core/lib/Foswiki/Plugins/SafeWikiPlugin.pm line 96
        Foswiki::Plugins::SafeWikiPlugin::completePageHandler("<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"..., "Content-type: text/html\x{d}\x{a}") called at /var/www/foswiki/distro/core/lib/Foswiki/Plugin.pm line 311
        Foswiki::Plugin::invoke(Foswiki::Plugin=HASH(0x3287300), "completePageHandler", "<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"..., "Content-type: text/html\x{d}\x{a}") called at /var/www/foswiki/distro/core/lib/Foswiki/Plugins.pm line 380
        Foswiki::Plugins::dispatch(Foswiki::Plugins=HASH(0x15a3eb0), "completePageHandler", "<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"..., "Content-type: text/html\x{d}\x{a}") called at /var/www/foswiki/distro/core/lib/Foswiki.pm line 768
        Foswiki::writeCompletePage(Foswiki=HASH(0x15a3cd0), "<!DOCTYPE html><html lang=\"en\">\x{a}<head>\x{a}<title> SafeWikiPlugin"..., "view", "text/html") called at /var/www/foswiki/distro/core/lib/Foswiki/UI/View.pm line 474
        Foswiki::UI::View::view(Foswiki=HASH(0x15a3cd0)) called at /var/www/foswiki/distro/core/lib/Foswiki/UI.pm line 378
        Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 416
        eval {...} called at /usr/share/perl5/Error.pm line 408
        Error::subs::try(CODE(0x159ab80), HASH(0x15a36d0)) called at /var/www/foswiki/distro/core/lib/Foswiki/UI.pm line 504
        Foswiki::UI::_execute(Foswiki::Request=HASH(0x2c8ad68), CODE(0x159ad30), "view", 1) called at /var/www/foswiki/distro/core/lib/Foswiki/UI.pm line 330
        Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x2c8ad68)) called at /var/www/foswiki/distro/core/lib/Foswiki/Engine/CGI.pm line 100
        Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x25294f0)) called at view line 28

-- GeorgeClark - 28 Feb 2017

 
Topic revision: r1 - 28 Feb 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy