Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

welcome: add room validation pattern

Maximilian Rutabe5dba7eead5
diff --git a/lang/main.json b/lang/main.json
index e5c31c2eeb..d767bcd89c 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -707,6 +707,7 @@
"connectCalendarButton": "Connect your calendar",
"connectCalendarText": "Connect your calendar to view all your meetings in {{app}}. Plus, add {{provider}} meetings to your calendar and start them with one click.",
"enterRoomTitle": "Start a new meeting",
+ "onlyAsciiAllowed": "Meeting name should only contain latin characters and numbers.",
"go": "GO",
"join": "JOIN",
"info": "Info",
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index 0328000748..c9089cbd2e 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -147,6 +147,8 @@ class WelcomePage extends AbstractWelcomePage {
<input
autoFocus = { true }
className = 'enter-room-input'
+ pattern = '^[a-zA-Z0-9=\?]+$'
+ title = { t('welcomepage.onlyAsciiAllowed') }
id = 'enter_room_field'
onChange = { this._onRoomChange }
placeholder