Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Fixed issue where paths with URL encoded characters were being passed…#155

Open
drb wants to merge 1 commit into
raml-org:masterfrom
drb:master
Open

Fixed issue where paths with URL encoded characters were being passed…#155
drb wants to merge 1 commit into
raml-org:masterfrom
drb:master

Conversation

@drb

@drb drb commented Aug 12, 2015

Copy link
Copy Markdown

… 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.
@dmartinezg

Copy link
Copy Markdown

Can you add a test to verify the regression?

@dmartinezg

Copy link
Copy Markdown

Also just to double, check, have you signed the Contributor agreement?

@drb

drb commented Aug 12, 2015

Copy link
Copy Markdown
Author

I'll add a test ASAP. Contrib agreement is signed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants