Strip ip, expire from Google Docs flashvars
This commit is contained in:
parent
181abfeda0
commit
e737bc9f8a
2 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue