We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code-server
Drag and Drop file from Browser to Desktop yield 404 error In chrome from MacOS.
Path query parameters are double escaped, and rejected with a 404.
GET /vscode-remote-resource?path%3D%252Fhome%252Fec2-user%252Ftm-xx%252Flogs%252F2020-02-01-xx.log.gz%26tkn%3D HTTP/1.1 Host: xxx Connection: keep-alive Referer: xxx/?folder=vscode-remote%3A%2F%2Fxx%3A8080%2Fhome%2Fec2-user%2Ftm-xx User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9,es;q=0.8 Cookie: key=xxx HTTP/1.1 404 Not Found Date: Tue, 03 Mar 2020 16:56:55 GMT Connection: keep-alive Transfer-Encoding: chunked
Manually fixed with a curl request for testing:
curl -v "http://xxx/vscode-remote-resource?path=%2Fhome%2Fec2-user%2Ftm-xx%2Flogs%2F2020-02-01-xx.log.gz&tkn=" HTTP/1.1 200 OK Content-Type: text/plain Date: Tue, 03 Mar 2020 17:02:00 GMT Connection: keep-alive Transfer-Encoding: chunked
The text was updated successfully, but these errors were encountered:
We don't currently have functionality for downloading files.
Will add!
Sorry, something went wrong.
Tracking here: #1386
No branches or pull requests
code-server
version: 2.1698-vsc1.41.1 x84_64Description
Drag and Drop file from Browser to Desktop yield 404 error In chrome from MacOS.
Path query parameters are double escaped, and rejected with a 404.
I captured traffic packets to see the root cause:
Manually fixed with a curl request for testing:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: