mirror of https://github.com/calzoneman/sync.git
Strip ip, expire from Google Docs flashvars
This commit is contained in:
parent
181abfeda0
commit
e737bc9f8a
|
@ -1,3 +1,7 @@
|
|||
Fri Nov 08 17:55 2013 CDT
|
||||
* lib/get-info.js: Strip "ip" and "expire" fields from Google Drive
|
||||
flashvars
|
||||
|
||||
Thu Nov 07 17:18 2013 CDT
|
||||
* lib/channel.js, lib/get-info.js, lib/media.js, lib/playlist.js,
|
||||
www/assets/js/player.js, www/assets/js/util.js:
|
||||
|
|
|
@ -648,6 +648,10 @@ var Getters = {
|
|||
for (var k in fv) {
|
||||
if (k === "autoplay")
|
||||
fv[k] = "1";
|
||||
fv[k] = fv[k].replace(/(&|%26)ip(\=|%3D)[0-9\.]+/g,
|
||||
"");
|
||||
fv[k] = fv[k].replace(/(&|%26)expire(\=|%3D)[0-9]+/g,
|
||||
"");
|
||||
fvstr += "&" + k + "=" + encodeURIComponent(fv[k]);
|
||||
}
|
||||
fvstr = fvstr.substring(1);
|
||||
|
|
Loading…
Reference in New Issue