mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-18 00:58:36 +00:00
stream length fix
This commit is contained in:
parent
be0a0ab889
commit
518ac2a4ad
2
lib.js
2
lib.js
@ -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"]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user