Record frontend controller incorrectly handles non-existing records. Atm, if you try accessing /entry/non-existing-entry if entry is translatable, instead of 404 you'll be redirected to the alphabetically first entry in the database. I added a condition that checks if the entered slug is actually present in the database, and if not, then it displays the 404 page.
Record frontend controller incorrectly handles non-existing records. Atm, if you try accessing /entry/non-existing-entry if entry is translatable, instead of 404 you'll be redirected to the alphabetically first entry in the database. I added a condition that checks if the entered slug is actually present in the database, and if not, then it displays the 404 page.