Allow only responding to certain urls patterns

Created on 29 January 2014, over 11 years ago
Updated 22 May 2025, 3 months ago

Some url paths are sensitive, such as /users/admin (if the username is in fact admin). So would be nice for this to return a 404 instead of a 403.
However, other urls are not sensitive, such as /node/5 and it would be nice for the user to get a proper 403.

Would be nice to have config to list paths that should be allowed to return 403s as normal, or the other way around, list paths that are only overridden to a 404. (whitelist vs blacklist)

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cashwilliams

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia elc

    Thank you for your contribution! Alas, it seems it was not integrated into the module in a timely fashion and now Drupal 7 is no longer supported.

    The functionality you seek has been implemented in the supported branch here:
    ✨ Method to bypass redirection RTBC

Production build 0.71.5 2024