Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redirect url in session error handling for desktop #9240

Merged
merged 1 commit into from Apr 4, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Apr 3, 2023

馃拋 Description

The URL in the session error handling redirect was not correct on the Desktop.

Previously it redirected by an absolute URL. But it worked only on the dev server on the http:// protocol. An absolute path is not correct for the file:// protocol on the production build. It causes a black screen after receiving any signaling session error.

The new solution updates only hash (Hash routing is used on desktop) and reloads the page.

NO CHANGES FOR WEB

鈽戯笍 Resolves

馃弫 Checklist

Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
@ShGKme ShGKme added this to the 馃挊 Next Patch (26) milestone Apr 3, 2023
@ShGKme ShGKme self-assigned this Apr 3, 2023
@ShGKme ShGKme changed the title [Desktop] Fix redirect url in session error handling for desktop Fix redirect url in session error handling for desktop Apr 4, 2023
@ShGKme ShGKme marked this pull request as ready for review April 4, 2023 02:03
@nickvergessen
Copy link
Member

/backport to stable26

@nickvergessen nickvergessen merged commit 3179657 into master Apr 4, 2023
18 checks passed
@nickvergessen nickvergessen deleted the desktop/fix/fix-session-error-handling branch April 4, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants