mirror of https://github.com/calzoneman/sync.git
Be stricter about ustream IDs
This commit is contained in:
parent
24a13c12cf
commit
ce44bfea9e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue