Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9199

InputFile::content() and InputFile::inputStream() should filter BOM

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: Plugin API, Scanner
    • Labels:
      None

      Description

      This would save this burden to every plugin. In any case, offsets in other APIs expects that BOM are ignored (ie offset 0 is the first real character) so it would be more consistent.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: