diff options
author | 2015-12-26 14:52:41 +0100 | |
---|---|---|
committer | 2015-12-26 14:52:41 +0100 | |
commit | 348d41b6a157276ee3ddb500567126309da0df17 (patch) | |
tree | 68affe233c7fa6bb7087087f53daa428e7185439 /module/plugins/internal/Plugin.py | |
parent | [UgouploadNet] update (diff) | |
parent | [Account] reimplement safe_info with deepcopy (diff) | |
download | pyload-348d41b6a157276ee3ddb500567126309da0df17.tar.xz |
Merge pull request #2150 from GammaC0de/patch-11
[Plugin] censor ACCOUNT request data
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r-- | module/plugins/internal/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py index 274cff301..e439dd912 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -20,7 +20,7 @@ from module.plugins.internal.utils import * class Plugin(object): __name__ = "Plugin" __type__ = "plugin" - __version__ = "0.59" + __version__ = "0.60" __status__ = "stable" __config__ = [] #: [("name", "type", "desc", "default")] @@ -214,7 +214,7 @@ class Plugin(object): """ if self.pyload.debug: self.log_debug("LOAD URL " + url, - *["%s=%s" % (key, val) for key, val in locals().items() if key not in ("self", "url", "_[1]")]) + *["%s=%s" % (key, "{********}" if self.__type__ == "account" and key in ("get", "post") else val) for key, val in locals().items() if key not in ("self", "url", "_[1]")]) url = fixurl(url, unquote=True) #: Recheck in 0.4.10 |