-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: Mac
- Remote OS:
- Remote Architecture:
code-server --version
:
Steps to Reproduce
- setup a code server, the domain is https://codeserver.com
- create a jupyter notebook in code server
- output js or html in jupyter notebook, which requests API/resource in same domain:
from IPython.display import HTML, display
display(HTML("<img src='https://codeserver.com/some.jpg'/> "))
- run
Expected
the request to https://codeserver.com/some.jpg should be sandboxed, without cookie. this may bring security issue when we receive and open such notebook in code server.
Actual
the request to https://codeserver.com/some.jpg is not sandboxed and it sends with cookie
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer