KenEucker/biketag-vue

[BUG] GPS coordinates are saved on the previous round

Open

#195 opened on Dec 12, 2023

 (4 comments) (0 reactions) (0 assignees)TypeScript (20 forks)auto 404
bughelp wanted

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (Avg merge 11d 6h) (1 merged PR in 30d)

Description

Describe the bug When a player uploads the image for the new round it receives the GPS coordinates for the previous round. i.e. the mystery image for round 123 will have the GPS coordinates based on the location of the found image for round 122

Expected behavior Coordinates are accurate for each image

Additional context Sometimes user will use the context menu of the browser to open the image in a new tab. Often times, Imgur will intercept the request to the jpg and instead redirect to the image's "page" which would reveal the coordinates, allowing cheating. e.g.:

  1. Right click on image, open image in new tab
  2. New tab opened for https://i.imgur.com/example.jpg
  3. Imgur redirects to https://imgur.com/example
  4. Hint text, player name and GPS coordinates are visible on page

Contributor guide