Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid url parameter during high score submission #7

Open
AdamCecin opened this issue Feb 7, 2024 · 4 comments
Open

Invalid url parameter during high score submission #7

AdamCecin opened this issue Feb 7, 2024 · 4 comments

Comments

@AdamCecin
Copy link

I get this error when attempting to submit a high score with my generated token:

[ Invalid url parameter: '' ]

at this address:
https://skylandgame.io/up/?d

build hash:
9ec315d

Release:
2024.1.29.1

@evanbowman
Copy link
Owner

Hello! Thanks for reporting this issue, I've seen this happen myself in the past. On my iPhone for example, the camera app QR code reader fails to correctly read long QR codes with url parameters, and truncates the url (as seen above, where there's no = character after the d url parameter).

When installing a better qr reader app, like QR Reader in iOS, I've been able to correctly scan larger QR codes. If installing a better qr reader app doesn't fix the problem, please send me your .sav file if possible, and I'll investigate!

@AdamCecin
Copy link
Author

It worked! Thanks!

@evanbowman
Copy link
Owner

Great! Cool flag!

I could eject some diagnostic data from the QR code, making it smaller and easier to scan. But I'm hoping that the pre-installed qr scanners in phones get better, maybe things will just work.

Another thing I can do in the meantime is detect a missing url parameter in the web server and display a more helpful error message. Maybe that's what I'll do!

@AdamCecin
Copy link
Author

Thanks, it’s Washington DC’s haha

an error message sounds like a great solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants