Skip Menu |

This queue is for tickets about the Net-Appliance-Session CPAN distribution.

Report information
The Basics
Id: 92376
Status: resolved
Priority: 0/
Queue: Net-Appliance-Session

People
Owner: OLIVER [...] cpan.org
Requestors: allonikramer [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Issue with failed attempts to begin_privileged.
Date: Wed, 22 Jan 2014 13:25:06 -0600
To: bug-Net-Appliance-Session [...] rt.cpan.org
From: Alloni Kramer <allonikramer [...] gmail.com>
In Net-Appliance-Session-4.131260, when one attempts to enable privileged mode using begin_privileged(), but one has the incorrect privileged password, the begin_privileged attempt will stop processing and only fail due to the timeout, rather than properly dying with 'should be in privileged mode but prompt does not match'. This is due to the fact that, in line 107 of Net/Appliance/Session/Engine.pm, it reads: $self->cmd($password, { match => 'privileged' }); instead of $self->cmd($password, { match => 'generic' }); Thanks, Alloni Kramer
Hi, Many thanks for the bug report. I've just released verison 4.140230 to CPAN with your suggested fix. regards, oliver.