mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #102] QR Code in Email not displayed correctly #56
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @struppthat on GitHub (Nov 29, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/102
Originally assigned to: @glenndehaan on GitHub.
The problem
When sending a code via the Kiosk the QR Code sent in base64 isnt sent correctly/appears to be corrupt.
What version of UniFi Voucher Site has the issue?
latest
What was the last working version of UniFi Voucher Site?
No response
What type of installation are you running?
Docker
Anything in the logs that might be useful for us?
Additional information
No response
@glenndehaan commented on GitHub (Nov 29, 2025):
Hi @struppthat ,
Thats a first for me. Can you verify the QR does also not render within the web UI. Or is it both the email and web ui.
I suspect there is a symbol within the SSID that won't convert.
Can you also check the logs to see if there are any errors in the console.
Kind regards,
Glenn de Haan
@struppthat commented on GitHub (Nov 29, 2025):
Set the logs to debug. No Errors or anything pointing to an issue.
Web view also doesnt render but shows the base64 Code in plain view.
SSID isnt having any funny business going on.
Its just two words in Camelcase (e.g. GuestNetwork)
@glenndehaan commented on GitHub (Nov 29, 2025):
Are you setting the variables via config or via environment variables? Can you try to set anything different. Because i'm using the current version and can't replicate this. I basically have the same type of SSID and this works fine.
@struppthat commented on GitHub (Nov 29, 2025):
Im using a config file.
I can try setting it up via the docker compose tomorrow, im using smtp port 25 and non secure smtp. That i will be able to test in monday.
I can also send you a voucher if you provide an email adress
@glenndehaan commented on GitHub (Nov 29, 2025):
Yeah that sounds great. You can send me one on glenn@dehaan.cloud
@glenndehaan commented on GitHub (Nov 29, 2025):
I think you are never going to believe this. But I got your voucher and it renders on my Samsung phone
@struppthat commented on GitHub (Nov 29, 2025):
Tried two different Providers (Gmail and GMX) with the same result.
Thats weird as fuck.
Im going to further investigate on monday.
At least its not an issue with the container or our mail Server
@struppthat commented on GitHub (Nov 29, 2025):
Never mind. Its an issue with Gmail.
@glenndehaan commented on GitHub (Nov 29, 2025):
Ahhh. Yeah im using Samsung mail. The reason for using base64 is that not everyone has the instance exposed to the web. So I would have no other way to serve the pictures
@struppthat commented on GitHub (Nov 29, 2025):
Makes total sense.
Will Close the issue
@glenndehaan commented on GitHub (Dec 2, 2025):
@struppthat, Small update. I had some time to think this over and I was able to change it where the images are now send along as attachments. Those are then referenced within the email template. The fix is available in version 8.4.0.