deleting a backup throws exception: "invalid characters in input"

Bug #129737 reported by Martin Pitt
2
Affects Status Importance Assigned to Milestone
ebox (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ebox

I created a backup of configuration and want to delete it again. When I do this, I get an error message "The input contains invalid characters" (loosely translated from German), and this exception trail:

n$VAR1 = bless( {
                 '-stacktrace' => "Die Eingabe enth\x{e4}lt ung\x{fc}ltige Zeichen. Alle Buchstaben (A-Z, a-z), die Zahlen (0-9) und diese Zeichen (/.?&+:-\@) sowie Leerzeichen sind erlaubt at /usr/share/perl5/EBox/CGI/Base.pm line 189
 EBox::CGI::Base::_checkForbiddenChars('EBox::CGI::EBox::Backup=HASH(0x513cb50)', 'L\\x{ef}\\x{bf}\\x{bd}schen') called at /usr/share/perl5/EBox/CGI/Base.pm line 399
 EBox::CGI::Base::param('EBox::CGI::EBox::Backup=HASH(0x513cb50)', 'delete') called at /usr/share/perl5/EBox/CGI/EBox/Backup.pm line 63
 EBox::CGI::EBox::Backup::requiredParameters('EBox::CGI::EBox::Backup=HASH(0x513cb50)') called at /usr/share/perl5/EBox/CGI/Base.pm line 634
 EBox::CGI::Base::_validateRequiredParams('EBox::CGI::EBox::Backup=HASH(0x513cb50)', 'ARRAY(0x5121b00)') called at /usr/share/perl5/EBox/CGI/Base.pm line 617
 EBox::CGI::Base::_validateParams('EBox::CGI::EBox::Backup=HASH(0x513cb50)') called at /usr/share/perl5/EBox/CGI/Base.pm line 459
 EBox::CGI::Base::_process('EBox::CGI::EBox::Backup=HASH(0x513cb50)') called at /usr/share/perl5/EBox/CGI/Base.pm line 254
 EBox::CGI::Base::run('EBox::CGI::EBox::Backup=HASH(0x513cb50)') called at /usr/share/perl5/EBox/CGI/Run.pm line 71
 EBox::CGI::Run::run('EBox::CGI::Run', 'EBox/Backup') called at /usr/share/ebox/cgi/ebox.cgi line 14
 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x513cae0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 203
 eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 203
 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x511a510)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 169
 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x511a510)') called at /usr/lib/perl5/ModPerl/Registry.pm line 30
 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x513cae0)') called at -e line 0
 eval {...} called at -e line 0
",
                 '-file' => '/usr/share/perl5/EBox/CGI/Base.pm',
                 '-text' => "Die Eingabe enth\x{e4}lt ung\x{fc}ltige Zeichen. Alle Buchstaben (A-Z, a-z), die Zahlen (0-9) und diese Zeichen (/.?&+:-\@) sowie Leerzeichen sind erlaubt",
                 '-line' => 189,
                 '-package' => 'EBox::CGI::Base'
               }, 'EBox::Exceptions::External' );

This might be a consequence of bug 129733. However, when I manually set the webpage encoding to latin1, I get "Malformed UTF-8 character (fatal) at /usr/share/perl5/EBox/CGI/Base.pm line 185" and this:

\n$VAR1 = bless( {
                 '-file' => '/usr/share/perl5/EBox/CGI/Base.pm',
                 '-text' => 'Malformed UTF-8 character (fatal)',
                 '-line' => '185',
                 '-package' => 'Error::subs'
               }, 'Error::Simple' );

Revision history for this message
Martin Pitt (pitti) wrote :

Hm, now I wanted to check this with English, but for the same reason I cannot switch the language back to English... I'm going to purge and reinstall and check again.

Revision history for this message
Martin Pitt (pitti) wrote :

Confirmed that it does work fine with English.

Revision history for this message
Jeff Anderson (jander99) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in ebox (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :

I filed those bugs two years ago after an initial review/test of ebox packages. I'm not actually using ebox, so I can't say whether these were fixed in a newer version. However, the test case in the description should be clear enough.

Changed in ebox (Ubuntu):
status: Incomplete → New
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Changed in ebox (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ebox (Ubuntu) because there has been no activity for 60 days.]

Changed in ebox (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.