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.
* [](/cleese)
*/
var m = id.match(/([^?&#]+)|(channel\/[^?&#]+)/);
var m = id.match(/([\w]+)|(channel\/[\w]+)/);
if (m) {
id = m[1];
} else {