Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-1995

Byte-order marks (BOMs) should not be used

    XMLWordPrintable

    Details

    • Message:
      Remove this BOM.
    • Default Severity:
      Major
    • Impact:
      Low
    • Likelihood:
      High
    • Targeted languages:
      PHP
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      20min
    • ESLint:
      unicode-bom

      Description

      Byte-order marks indicate the endian-ness of 16-bit characters. Their presence in a web page can cause display problems, extra blank lines and even "Headers already sent" errors. When present, a BOM was probably added by the text editor used to modify the file, and should be removed either by re-editing the file with corrected settings or removed manually via a script.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: