[ https://issues.apache.org/jira/browse/SOLR-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371994#comment-15371994 ]
ASF subversion and git services commented on SOLR-9295: ------------------------------------------------------- Commit 6d6aacbc764891f25e7221a7cb6374606f0ad920 in lucene-solr's branch refs/heads/branch_6x from [~steve_rowe] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6d6aacb ] SOLR-9295: Added beginning-of-file UTF-8 BOM to the list of disallowed patterns in -validate-source-patterns > Remove Unicode BOM (U+FEFF) from text files in codebase > ------------------------------------------------------- > > Key: SOLR-9295 > URL: https://issues.apache.org/jira/browse/SOLR-9295 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: scripts and tools > Affects Versions: master (7.0) > Reporter: Shawn Heisey > Priority: Trivial > Fix For: 6.2, master (7.0) > > > When starting Solr built from the master branch on Windows, this is what you > see: > {noformat} > C:\Users\elyograg\git\lucene-solr\solr>bin\solr start > C:\Users\elyograg\git\lucene-solr\solr>@REM > '@REM' is not recognized as an internal or external command, > operable program or batch file. > {noformat} > The three extra characters, found at the very beginning of the solr.cmd > script, are a Unicode BOM, and are invisible to vim, notepad, and notepad++. > The problem does not exist in 6.1.0, but IS present in branch_6x and master. > Using grep to find this character in the entire codebase, I found one other > relevant file with a BOM. All others were binary (images, jars, git pack > files, etc): > ./solr/webapp/web/js/lib/jquery.blockUI.js -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org