raml-js-parser
raml-js-parser copied to clipboard
Fixed issue where paths with URL encoded characters were being passed…
… to the filesystem when attempting to load a file using fetchLocalFileAsync(), causing an exception to be raised.
Using a path like path/to a file/file.raml would be passed to the method as path/to%20a%20file/file.raml which would raise an exception from the call to fs.readFile. A simple patch has been added to normalize urlencoded strings before being passed into this method.
Can you add a test to verify the regression?
Also just to double, check, have you signed the Contributor agreement?
I'll add a test ASAP. Contrib agreement is signed!