Closed rbaertschi closed 8 years ago
Opening a URL with non existent post id results in an UnboundLocalError. Instead it should probably return a 404 response.
Example: Opening "/en/001-about/1" where language "en" and page "001-about" exist results in the above mentioned error.
Fixed with current commit, now redirects to default page (in line with how pages behave).
Opening a URL with non existent post id results in an UnboundLocalError. Instead it should probably return a 404 response.
Example: Opening "/en/001-about/1" where language "en" and page "001-about" exist results in the above mentioned error.