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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.9
    • Search
    • PHP 8, MariaDB 10, Chrome

      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.

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

              Created:
              Updated: