… 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.
… 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 aspath/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.