Merge pull request #922 from steveseguin/v20.x-dev-patches

stream length fix
This commit is contained in:
Steve Seguin 2021-12-28 15:56:00 -05:00 committed by GitHub
commit b809631b9d
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