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.