Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-17099

Errors on search results page (Char 0xFFFE out of allowed range in Entity)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.3.9
    • None
    • Search
    • PHP 8, MariaDB 10, Chrome

    Description

      When a user includes the U+FFFE character or U+FFFF character in a post, forum search displays a bunch of errors at the top of the page when this post is in the search results. 

      The first error is:

      [phpBB Debug] PHP Warning: in file [ROOT]/vendor/s9e/text-formatter/src/Utils.php on line 161: DOMDocument::loadXML(): Char 0xFFFE out of allowed range in Entity, line: ...

      Apparently users can enter these characters, but forum search cannot properly handle this.

      It seems like an unsolved problem that has been around for a long time. See also my forum post. Doing a google search on "Char 0xFFFE out of allowed range in Entity" (include quotes) finds more forums with this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            forum_klutz forum_klutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: