[Pkg-mozext-commits] [firebug] 08/56: Allow circumventing the cropping of POST bodies by allowing to set extensions.firebug.netDisplayedPostBodyLimit to 0
David Prévot
taffit at moszumanska.debian.org
Wed Nov 19 21:01:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit d1a2f12d4a9f6310d95390047efb04bc392f9f98
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Thu Sep 11 12:34:56 2014 +0200
Allow circumventing the cropping of POST bodies by allowing to set
extensions.firebug.netDisplayedPostBodyLimit to 0
---
extension/content/firebug/net/netUtils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/content/firebug/net/netUtils.js b/extension/content/firebug/net/netUtils.js
index cb125dc..33dc83a 100644
--- a/extension/content/firebug/net/netUtils.js
+++ b/extension/content/firebug/net/netUtils.js
@@ -229,7 +229,7 @@ var NetUtils =
return file.postText;
var limit = Options.get("netDisplayedPostBodyLimit");
- if (file.postText.length > limit && !noLimit)
+ if (limit !== 0 && file.postText.length > limit && !noLimit)
{
return Str.cropString(file.postText, limit,
"\n\n... " + Locale.$STR("net.postDataSizeLimitMessage") + " ...\n\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list