Claudio Procida created THRIFT-4284:
---------------------------------------

             Summary: File contains a NBSP: lib/nodejs/lib/thrift/web_server.js
                 Key: THRIFT-4284
                 URL: https://issues.apache.org/jira/browse/THRIFT-4284
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library
    Affects Versions: 0.10.0, 0.9.3, 0.9.2
            Reporter: Claudio Procida


This file contains a non-breaking space ({{\u00a0}}): 
{{lib/nodejs/lib/thrift/web_server.js}}

We found the issue while bundling the npm module [thrift|https://npm.im] with 
{{browserify}}, resulting into a syntax error in the browser.

If you look at line 287 in [the raw 
file|https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=lib/nodejs/lib/thrift/web_server.js;hb=HEAD],
 there is an {{'Â'}} character between a value and the next key. Interestingly, 
the [web 
UI|https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob;f=lib/nodejs/lib/thrift/web_server.js;hb=HEAD#l287]
 doesn't show the issue.


The [raw file on the GitHub 
mirror|https://raw.githubusercontent.com/apache/thrift/master/lib/nodejs/lib/thrift/web_server.js]
 is not garbled.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to