Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file scheme missing in URLs when fetching local files #525

Closed
antoniogarrote opened this issue Aug 9, 2017 · 0 comments
Closed

file scheme missing in URLs when fetching local files #525

antoniogarrote opened this issue Aug 9, 2017 · 0 comments

Comments

@antoniogarrote
Copy link
Contributor

When we are parsing local files, we are storing the URL without the file scheme.
This is making my REPL fail when trying to build java.net.URI objects.

I have tracked the error to the fetchFile https://github.com/mulesoft-labs/amf/blob/master/amf-jvm/src/main/scala/amf/remote/JvmPlatform.scala#L40 function in the platform implementation for the JVM and JS/server.

We are building the Content object only with the path there.

@bulju bulju transferred this issue from another repository Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant