Robert Munteanu created RAT-215:
-----------------------------------

             Summary: BinaryGuesser should treat *.woff2 as binary
                 Key: RAT-215
                 URL: https://issues.apache.org/jira/browse/RAT-215
             Project: Apache Rat
          Issue Type: Bug
    Affects Versions: 0.11
            Reporter: Robert Munteanu


WOFF2 files are fonts and should not be checked for licenses.

We recently hit this in the Apache Sling builds, where the failure output 
(trimmed) is:

{noformat}
  B     
/home/jenkins/jenkins-slave/workspace/sling-samples-1.7/trunk/slingshot/src/main/resources/SLING-INF/content/slingshot/resources/fonts/glyphicons-halflings-regular.ttf
  B     
/home/jenkins/jenkins-slave/workspace/sling-samples-1.7/trunk/slingshot/src/main/resources/SLING-INF/content/slingshot/resources/fonts/glyphicons-halflings-regular.woff
  B     
/home/jenkins/jenkins-slave/workspace/sling-samples-1.7/trunk/slingshot/src/main/resources/SLING-INF/content/slingshot/resources/fonts/glyphicons-halflings-regular.eot
 !????? 
/home/jenkins/jenkins-slave/workspace/sling-samples-1.7/trunk/slingshot/src/main/resources/SLING-INF/content/slingshot/resources/fonts/glyphicons-halflings-regular.woff2{noformat}

I guess {{woff2}} should be added to the list of known binary formats as well.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to