Skip Menu |

This queue is for tickets about the MikroTik-API CPAN distribution.

Report information
The Basics
Id: 111476
Status: resolved
Priority: 0/
Queue: MikroTik-API

People
Owner: MARTINGO [...] cpan.org
Requestors: lav [...] netis.ru
Cc:
AdminCc:

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



Subject: MikroTik::API bug with query and values containing an equal sign
Date: Thu, 28 Jan 2016 15:08:53 +0300
To: bug-MikroTik-API [...] rt.cpan.org
From: "Alexander V. Lukyanov" <lav [...] netis.ru>
Hello! I have found a bug in MikroTik::API-1.0.2. When an attribute value contains an equal sign (=), query incorrectly parses the result as shown in this Dumper output: $VAR1 = { '.id' => '*16CF3A3', 'dst-host' => '18chan.net', 'path=/showthread.php?tid' => '273' }; With attached patch it parses it correctly and results in: $VAR1 = { '.id' => '*16CF3A3', 'dst-host' => '18chan.net', 'path' => '/showthread.php?tid=273' }; -- Alexander.

Message body is not shown because sender requested not to inline it.

Applied patch