summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-11-03 21:58:41 +0100
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-11-03 21:58:41 +0100
commit756e07e787fe357534d04d50377ff326d345dfc7 (patch)
tree5fac2e08cc47d4ce1328d3f3bfc1cd825c172a0a /module
parentMerge pull request #2137 from thadrien/pull-request-DropboxCom (diff)
downloadpyload-756e07e787fe357534d04d50377ff326d345dfc7.tar.xz
[Plugin] censor ACCOUNT request data
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/Plugin.py4
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