Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shiny/render/_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def url() -> str:
from urllib.parse import quote

session = require_active_session(None)
return f"session/{quote(session.id)}/download/{quote(self.output_id)}?w="
return f"session/{quote(session.id)}/download/{quote(session.ns(self.output_id))}?w="

# Unlike most value functions, this one's name is `url`. But we want to get the
# name from the user-supplied function.
Expand All @@ -705,7 +705,7 @@ def url() -> str:
# have been started.
session = get_current_session()
if session is not None and not session.is_stub_session():
session._downloads[self.output_id] = DownloadInfo(
session._downloads[session.ns(self.output_id)] = DownloadInfo(
filename=self.filename,
content_type=self.media_type,
handler=fn,
Expand Down
Loading