Skip to content

Custom field edits can trigger erroneous 'HTML tags are not allowed' messages #7660

@sbulen

Description

@sbulen

Description

This appears to be specific to profile fields that do not have other validations, e.g., regex or lists, etc.

The error appears to happen when you use single or double quote characters in these fields.

Steps to reproduce

  1. Enter text that includes either a single or double quote into a custom profile field - that does not have another edit defined (no regex).
  2. This happens when using the standard Location & Skype fields, as well as any new custom field added.

image

Environment (complete as necessary)

  • Version/Git revision: 2.1.3
  • Database Type: MySQL
  • Database Version: 8.0
  • PHP Version: 8.1

Additional information/references

From the forum:
https://www.simplemachines.org/community/index.php?topic=583519.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions