Be stricter about ustream IDs

This commit is contained in:
Calvin Montgomery 2018-09-30 21:05:04 -07:00
parent 24a13c12cf
commit ce44bfea9e
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ var Getters = {
* http://www.ustream.tv/foo so they do both. * http://www.ustream.tv/foo so they do both.
* [](/cleese) * [](/cleese)
*/ */
var m = id.match(/([^?&#]+)|(channel\/[^?&#]+)/); var m = id.match(/([\w]+)|(channel\/[\w]+)/);
if (m) { if (m) {
id = m[1]; id = m[1];
} else { } else {