-
Notifications
You must be signed in to change notification settings - Fork 155
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
url without app in it's query redirects docx and odt file to onlyoffice url #11129
Comments
I guess owncloud/ocis#9495 is the underlying issue here? |
Fix in frontend maybe? because we already have a fallback implementation there. |
I made #11134 to mitigate this. But I'm kind of confused by the URLs from the report. Here is the spec: https://owncloud.dev/services/app-registry/#open-a-file-with-owncloud-web The desktop client looks to me like it's creating the URL for the correct endpoint, but the query params should be
What you posted from the mobile client seems to skip the ocis endpoint entirely and directly goes to a handcrafted web ui URL: |
The URL |
I guess that mobile team uses url as described here: #9804 |
The point here is, what's done and what's expected. Android always requested
that is in the format that you mentioned. iOS app calls
the backend retrieved URLs are thrown to the browser. |
Thank you @jesmrec - the Android behaviour is perfect. 👍 So the iOS app doesn't even use the web ui but shows its own iframe with what comes back from the |
that's it, but let's confirm with @felix-schwarz. Is that right? |
I mitigated the issue by allowing the Anything that needs to be done in the tests @ScharfViktor ? Or can we close? |
We can close it down. I checked and returned the tests here and the tests are green. https://drone.owncloud.com/owncloud/web/45652/15/16 |
Describe the bug
Desktop client for both open office and collaborate file opens the file in only office. Thus, the redirection link isn't correctly fixed
Desktop Client
Url from test
/external/open-with-web/?appName=Collabora&fileId={file-id}
is redirected toexternal-onlyoffice/personal/alice/OpenDocument.odt?appName=Collabora&fileId={file-id"
Mobile Client
Url from test
/external?app=Collabora&contextRouteName=files-spaces-personal&fileId={file-id}
is redirected to/external-collabora/personal/alice/OpenDocument.odt?fileId=:{file-id}
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Web:
ownCloud Web UI 9.1.0-alpha.1
oCIS"
Infinite Scale 6.0.0+747795b4a Community
The text was updated successfully, but these errors were encountered: