Skip to content

Invalid data embedded in the QR code #7

Closed
@zepplock

Description

@zepplock

Hello,

I'm encoding the following string into the QR: http://localhost:4000/v1/sessions/9a454d3bb5d14369842f21a8f9683a87 which results in this image:
qrcode

The problem is that the actual data embedded in the QR is: http://localhost:4000/v1/sessions/9a454d3bb5d14369842f21a8f9683a8'. Notice the 7 at the end turned into '. I also saw similar errors which had 1 character wrong but not at the end of the string.

Here's my erl -v

erl -v
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

One thing to note is that when using Q or L error correction modes it is working fine, at least for the given input string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions