[Koha-bugs] [Bug 32011] 2FA - Problem with qr_code generation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 28 08:47:12 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32011

--- Comment #11 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Yes, it's coming from GD::Barcode::QRcode

 310 sub _calcVersion($$$) {
 311     my ($oSelf, $iTtlBits, $raPlusWords) = @_;
 312 
 313     my %hMaxDatBits= (
 314         'M' =>[ 0,
 315           128,   224,   352,   512,   688,   864,   992,  1232,  1456, 
1728,

So the patch jumps from 1232 to 1728 (in my tests the value was almost always <
~1350, but I saw it failed with 1456.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list