stream length fix

This commit is contained in:
Steve Seguin 2021-12-28 15:55:05 -05:00 committed by GitHub
parent be0a0ab889
commit 518ac2a4ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
lib.js
View File

@ -692,7 +692,7 @@ var sanitizeStreamID = function(streamID) {
warnUser(miscTranslations["alphanumeric-only"]);
}
}
if (streamID_sanitized.length >= 49) {
if (streamID_sanitized.length > 44) {
streamID_sanitized = streamID_sanitized.substring(0, 50);
if (!(session.cleanOutput)) {
warnUser(miscTranslations["stream-id-too-long"]);

File diff suppressed because one or more lines are too long