diff --git a/plugins/generic/filesystem.py b/plugins/generic/filesystem.py index f0f2a387d..0efac21a8 100644 --- a/plugins/generic/filesystem.py +++ b/plugins/generic/filesystem.py @@ -164,14 +164,14 @@ class Filesystem: if not single: fcLength = len(fcEncodedStr) - if fcLength > 1024: - for i in range(0, fcLength, 1024): + if fcLength > 256: + for i in range(0, fcLength, 256): string = "" if encoding == "hex": string += "0x" - string += fcEncodedStr[i:i+1024] + string += fcEncodedStr[i:i+256] if encoding == "base64": string = "'%s'" % string