eidreader icon indicating copy to clipboard operation
eidreader copied to clipboard

Error POST url on Linux

Open kristofvanwoensel opened this issue 3 years ago • 3 comments

The beid POST link works fine on windows, but not on Linux.

Log writes: INFO POST data to beid://http//localhost:4000/eid

while it should be http//:localhost:4000/eid (beid:// should be dropped, colon should be added after http)

kristofvanwoensel avatar Oct 13 '22 08:10 kristofvanwoensel

Thanks for reporting. I don't live in Belgium and my eid card seems to be broken (even eid-viewer doesn't work) so I am currently a bit stuck with reproducing this. But I guess that the problem is in the custom URL scheme handler. Try using a beid.sh file as described in https://eidreader.lino-framework.org/install.html

lsaffre avatar Oct 26 '22 03:10 lsaffre

I hardcoded my URL in the main.py file, so for testing it works. I guess the code removes the colon instead of "beid://".

kristofvanwoensel avatar Oct 26 '22 07:10 kristofvanwoensel

I now installed eidreader on my computer (Úbuntu 22.04) and tested with a new eid card. Everything works fine for me. So I cannot reproduce your problem.

lsaffre avatar Dec 05 '22 16:12 lsaffre

Now after #13 we can assume that this was a duplicate. Solution is to quote the url so that the browser doesn't try to protect your users against an unsecure link, and to use eidreader 1.0.8 or later.

lsaffre avatar Oct 27 '24 11:10 lsaffre