Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.

Essential

Preferences

Analytics and statistics

Marketing

This proposal has been implemented

Return 404 if user does not exist

Finished

Avatar: Deleted participant Deleted participant

Our error reporting tool is registering HTTP 500 errors because a webcrawler is visiting the profile activity of users that do no longer exist, and when rendering the page an Exception is raised. The affected URL is https://*domain*/profiles/*nickname*/activity I suggest returning a 404 instead. For that we just have to change find_by per find_by! here: https://github.com/decidim/decidim/blob/master/decidim-core/app/controllers/decidim/user_activities_controller.rb#L15
Comment

QR Code

Metadecidim's official logo

Return 404 if user does not exist

QR Code

Confirm

Please log in

The password is too short.