Hide username from title tag for security

Created on 13 December 2022, about 2 years ago
Updated 9 February 2024, 11 months ago

Problem/Motivation

Hide the username from the title tag for security purposes, as analytics crawlers scan for the title tag and parse this through to their console. There are instances where we may not want to pick this up.

Proposed resolution

Preprocess theme and remove the username from all user wildcard instances.

💬 Support request
Status

Needs review

Version

1.6

Component

Code

Created by

🇦🇺Australia j-henriquez

Live updates comments and jobs are added and updated live.
  • Security

    It is used for security vulnerabilities which do not need a security advisory. For example, security issues in projects which do not have security advisory coverage, or forward-porting a change already disclosed in a security advisory. See Drupal’s security advisory policy for details. Be careful publicly disclosing security vulnerabilities! Use the “Report a security vulnerability” link in the project page’s sidebar. See how to report a security issue for details.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024