From ce44bfea9e096e159439c955bae392256c92bedd Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 30 Sep 2018 21:05:04 -0700 Subject: [PATCH] Be stricter about ustream IDs --- src/get-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-info.js b/src/get-info.js index ce68affc..5f16e160 100644 --- a/src/get-info.js +++ b/src/get-info.js @@ -376,7 +376,7 @@ var Getters = { * http://www.ustream.tv/foo so they do both. * [](/cleese) */ - var m = id.match(/([^?&#]+)|(channel\/[^?&#]+)/); + var m = id.match(/([\w]+)|(channel\/[\w]+)/); if (m) { id = m[1]; } else {