Skip to content

Commit

Permalink
Merge pull request #10983 from owncloud/encode-wopi-app-name
Browse files Browse the repository at this point in the history
fix: encode app name for app provider
  • Loading branch information
kulmann authored Jun 1, 2024
2 parents dc7996e + 7dbcdd3 commit 2067f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-app-external/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default defineComponent({
const query = stringify({
file_id: fileId,
lang: language.current,
...(unref(applicationName) && { app_name: unref(applicationName) }),
...(unref(applicationName) && { app_name: encodeURIComponent(unref(applicationName)) }),
...(viewMode && { view_mode: viewMode })
})
Expand Down

0 comments on commit 2067f9d

Please sign in to comment.