-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
fetch panicked when accepting file scheme url #4038
Comments
Should file url be valid for |
Ref #2150. |
Is there a reason fetch shouldn't accept file urls? |
@ry It's not a http server. I thought browsers generated responses around files and it would work but I just tried fetching relatively from a
|
Edit: It doesn't work in FF anymore by default. Only with a flag. https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp |
And discussed in #2150, Chrome allows it with a flag. Yes, it is for security issues in browsers, but I think the expectations in Deno are there as a server workload to just follow the Deno security model and allow it. It should respect the |
has anyone claim this issue? |
Note: same happen when using |
The text was updated successfully, but these errors were encountered: