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:
commit
44d655523f
@ -121,7 +121,7 @@ class MobileAppModal extends Component {
|
|||||||
color="primary"
|
color="primary"
|
||||||
disabled={url === ''}
|
disabled={url === ''}
|
||||||
label={intl.formatMessage(intlMessages.openApp)}
|
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"
|
role="button"
|
||||||
size="lg"
|
size="lg"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user