-
-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Labels
Description
After restoring a database backup, an edit link for an anonymous map may point to a different map if the original map no longer exists in the restored database and a new map has been assigned the same ID.
A user reported that a secret editing link sent by email no longer works and now points to a different map that the user did not create.
It happened on https://umap.openstreetmap.de which is running release 3.4.0
Steps to reproduce:
- Create a DB backup.
- Create an anonymous map.
- Generate a secret editing link.
- Restore the DB backup.
- Create a new anonymous map (with the same ID).
- Use the original secret editing link. Or compare the newly generated link with the original link, they are the same.
- The link will point to the new map instead of the original one (which has been deleted).