Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Test-SSH CPAN distribution.

Report information
The Basics
Id: 121539
Status: resolved
Priority: 0/
Queue: Test-SSH

People
Owner: ANDK [...] cpan.org
Requestors: MOB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.04
  • 0.07
Fixed in: (no value)



Subject: Undefined subroutine &URI::ssh::uri_unescape called
Download (untitled) / with headers
text/plain 359b
A URI in $ENV{TEST_SSH_TARGET} with a ';' character in the user information section will cause Test::SSH to throw the exception "Undefined subroutine &URI::ssh::uri_unescape" called at .../Test/SSH/Patch/URI/ssh.pm line 78" Changing this line to call the function URI::Escape::uri_unescape instead of uri_unescape fixes this issue. -- Marty O'Brien
Download (untitled) / with headers
text/plain 811b
I meant to include a brief demonstration: $ TEST_SSH_TARGET=ssh://mob\;foo@localhost perl -MTest::SSH -e 'Test::SSH->new' Undefined subroutine &URI::ssh::uri_unescape called at .../Test/SSH/Patch/URI/ssh.pm line 78. # Test::SSH > directory '.../.libtest-ssh-perl/remote/run/114579' created # Test::SSH > SSH server logs moved to '.../.libtest-ssh-perl/remote/openssh/run/last' On Fri May 05 17:11:34 2017, MOB wrote: Show quoted text
> A URI in $ENV{TEST_SSH_TARGET} with a ';' character in the user > information section will cause Test::SSH to throw the exception > "Undefined subroutine &URI::ssh::uri_unescape" called at > .../Test/SSH/Patch/URI/ssh.pm line 78" > > Changing this line to call the function URI::Escape::uri_unescape > instead of uri_unescape fixes this issue. > > -- Marty O'Brien
Download (untitled) / with headers
text/plain 144b
I have just released a new version with the issue fixed: https://metacpan.org/release/SALVA/Test-SSH-0.08 Thank you for reporting the issue!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.