Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14985

Plain text is stored as HTML and not decoded before usage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.1-RC1
    • 3.2.0
    • None
    • None

      Some reports about issues with HTML special characters in 3.2 have appeared recently:

      The problem is the same for both: admin-submitted text is encoded and stored as HTML, then it is used in contexts where plain text is expected. This is all new to me but judging from the commit log it's been that way since 2011 so I guess I just never noticed it.

      If every text field is encoded to HTML for storage then phpbb\textformatter\data_access should probably be modified to automatically decode them to plain text.

            nicofuma nicofuma
            JoshyPHP JoshyPHP
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: