Merge pull request #19206 from gustavotrott/fix-app-btn-encodeUrl

fix (backport): Button 'Open Tablet app' breaks when the meeting name contains white space
This commit is contained in:
Anton Georgiev 2023-11-24 08:53:22 -05:00 committed by GitHub
commit 44d655523f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ class MobileAppModal extends Component {
color="primary"
disabled={url === ''}
label={intl.formatMessage(intlMessages.openApp)}
onClick={() => window.open(`${BBB_TABLET_APP_CONFIG.iosAppUrlScheme}://${meetingName}/${encodeURIComponent(url)}`, '_blank')}
onClick={() => window.open(`${BBB_TABLET_APP_CONFIG.iosAppUrlScheme}://${encodeURIComponent(meetingName)}/${encodeURIComponent(url)}`, '_blank')}
role="button"
size="lg"
/>