You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guest SVG previews fail when Web and API use different origins #3834
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Guest SVG previews fail when Web and the API use different origins. Follow-up to #3816; exploratory findings.
Reproduction Steps
Serve Web at https://host.docker.internal:9201 and the API at https://host.docker.internal:9200, with credentialed CORS configured.
Invite a guest to an SVG file or a folder containing one.
Redeem the invitation and open the SVG in Preview.
Compare with an equivalent Public Link.
Tested with Chromium, Firefox and WebKit, backend rolling 8.1.0+40095460.
Expected Outcome
The SVG renders for both Guests and Public Links.
Actual Outcome
The Guest preview is blank. vue-inline-svg requests the protected DAV URL without the guest cookie and receives 401. The Public Link renders correctly. Guest preview also works when Web and API share an origin.
Activity