jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.08k stars 6.58k forks source link

ReactNativeSDK. Duplicates the room name in Cyrillic. #14892

Open qnafin opened 4 days ago

qnafin commented 4 days ago

What happened?

"@jitsi/react-native-sdk": "^2.2.1"

const room = 'кгб';

<JitsiMeeting
        room={room}
        serverURL={'https://example.com/'}    
 />

Will return https://example.com/кгб/кгб

The solution is encodeURIComponent(room) if the library solved this on its own, it would reduce the number of errors and possible requests for technical support

Platform

Browser / app / sdk version

"@jitsi/react-native-sdk": "^2.2.1"

Relevant log output

No response

Reproducibility

More details?

No response

saghul commented 4 days ago

@Calinteodor I think this is a pretty sensible thing to do, which I thought we already did, maybe we missed a spot.