raatmarien / my-qr.art

Design custom QR codes with this web app!
https://my-qr.art
GNU Affero General Public License v3.0
430 stars 26 forks source link

QR redirect error #5

Open Poloin34 opened 3 years ago

Poloin34 commented 3 years ago

Hi! Thanks for this awesome work!!

So, I created a QR-Code (don't judge, I'm childish I know) but when my qr reader read it, it's as text but there is an option to open on the web, that what I do but it then show me

Redirect url not found:
n+94sgardyvrdyvsg27r*du

I then look at the URL, and oh.. because of illegal character (space, etc..) my qr reader app cut the link.... So it didn't redirected me

PLEASE, remove illegal character !!!!!!!! (Since the url are already that long, replace with "%20" etc.. we are not at some characters more)

RandomDefaultUser commented 3 years ago

I got the same issue, I tried using my-qr.art to create a QR code bearing my bands logo. My input link was our spotify URL, so I guess it was kind of long-ish. I also get Redirect url not found upon scanning.

raatmarien commented 3 years ago

Sadly this is not trivial to fix, since the characters make up the design, so removing the character would alter the design and the QR wouldn't look like it should anymore. There are some possible solutions, like using different encodings at different parts, but right now I sadly don't have the time to implement this. So this may be fixed later when I have the time, or anyone else who wants to fix it can make a PR and I will try to make time to review it.

However, most QR code scanners should handle these URL's correctly, these characters aren't necessarily illegal in an URL and most scanners I tested do handle them properly.