Be stricter about ustream IDs

This commit is contained in:
Calvin Montgomery 2018-09-30 21:05:04 -07:00
parent 24a13c12cf
commit ce44bfea9e

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 {