Skip Menu |

This queue is for tickets about the WebService-SSLLabs CPAN distribution.

Report information
The Basics
Id: 121640
Status: resolved
Priority: 0/
Queue: WebService-SSLLabs

People
Owner: Nobody in particular
Requestors: theroadisopen [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug in version method inside Info.pm submodule
Date: Fri, 12 May 2017 20:07:25 +0200
To: bug-WebService-SSLLabs [...] rt.cpan.org
From: me open <theroadisopen [...] gmail.com>
Subject of the bug report: ------------------------------------ https://metacpan.org/pod/WebService::SSLLabs::Info version (method) SSL Labs software version as a string (e.g., "1.11.14") Bug: ------- Calling '$info->version()' doesn't return anything in version 0.27 of the module. Current code: ------------------- sub version { my ($self) = @_; return $self->{version}; } Fix: ----- sub version { my ($self) = @_; return $self->{engineVersion}; }
On Sat May 13 04:07:34 2017, theroadisopen@gmail.com wrote: Show quoted text
> Subject of the bug report: > ------------------------------------ > https://metacpan.org/pod/WebService::SSLLabs::Info > version (method) > SSL Labs software version as a string (e.g., "1.11.14") > > Bug: > ------- > Calling '$info->version()' doesn't return anything in version 0.27 of the > module. > > > Current code: > ------------------- > sub version { > my ($self) = @_; > return $self->{version}; > } > > > Fix: > ----- > sub version { > my ($self) = @_; > return $self->{engineVersion}; > }
Thanks for the report. Looks like an inconsistency between the documentation and the API for SSLLabs. I've logged a report at https://github.com/ssllabs/ssllabs-scan/issues/497 In the meantime the version method will return the version attribute or if it does exist the engineVersion attribute will be returned. I expect this behaviour to change when SSLLabs responds.
On Sat May 13 04:07:34 2017, theroadisopen@gmail.com wrote: Show quoted text
> Subject of the bug report: > ------------------------------------ > https://metacpan.org/pod/WebService::SSLLabs::Info > version (method) > SSL Labs software version as a string (e.g., "1.11.14") > > Bug: > ------- > Calling '$info->version()' doesn't return anything in version 0.27 of the > module. > > > Current code: > ------------------- > sub version { > my ($self) = @_; > return $self->{version}; > } > > > Fix: > ----- > sub version { > my ($self) = @_; > return $self->{engineVersion}; > }