SSI includes is reported as comments

  • versions used (SonarQube 7.9.1, SonarAnalyzer (HTML) 3.2 (build 2082))
  • Rule: Web:AvoidCommentedOutCodeCheck
  • minimal code sample to reproduce (with analysis parameter, and potential instructions to compile).
    <!--#include virtual="somefile.html" -->

Hi @himanshu.pathak,

Welcome to the community and thank you for this bug report. Raising issues on Server Side Includes is indeed a false positive.

I created the following ticket: https://jira.sonarsource.com/browse/SONARHTML-117.
Can you take a look and let me know if you see anything missing?

Cheers,
Nicolas

The Jira looks good. Thanks for the quick update.