-
Notifications
You must be signed in to change notification settings - Fork 331
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
Render PDF: 'Open in Browser' opens wrong link (code-server with Jupyter Server Proxy) #3352
Comments
|
ℹ️ The link for 'Open in Browser' is only wrong for 'Render PDF'. For 'Render DOCX' and 'Render HTML' the link is correct. Please consider this issue for a patch release of v1.2. |
Thanks for the report! I don't know if we ever supported Jupyter Server Proxy in vs-code. Is this a regression? |
No. |
'Open in Browser' for 'Render DOCX' and 'Render HTML' work out of the box. I am quite sure, that the 'Open in Browser' URL for 'Render PDF' is being tampered with somewhere. |
That popup isn't one that we are creating (that's VS Code / Code Server detecting a port). I think difference is that PDFs are hosted inside a special viewer URL whereas DOCX and HTML are hosted at the main root URL. Note that we do redirect from the main URL to the special viewer URL. |
I will check where the 'special viewer URL' is created and add a special handling for |
Bug description
'Open in Browser' opens https://coder.jupyter.b-data.ch/hub/proxy/7095/web/viewer.html, which is wrong.
Browse at shows https://coder.jupyter.b-data.ch/user/benz0li/code-server/proxy/7095/web/viewer.html, which is correct.
@jjallaire @cscheid @dragonstyle May be reproduced at https://coder.jupyter.b-data.ch with image
R (jupyterlab/r/verse:latest-devtools)
usingChecklist
The text was updated successfully, but these errors were encountered: