summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Miller <justdave@mozilla.com>2012-11-20 20:07:13 +0100
committerDave Miller <justdave@mozilla.com>2012-11-20 20:07:13 +0100
commit649b1d6be2eeaf6586fec4bf58f09324bfd06b3a (patch)
tree0f5e5459e53f0b5bd62935d0c8bdccc845fff22d
parent569fdbba8b711b7cbd13effc825265220d5a53c5 (diff)
downloadbugzilla-649b1d6be2eeaf6586fec4bf58f09324bfd06b3a.tar.gz
bugzilla-649b1d6be2eeaf6586fec4bf58f09324bfd06b3a.tar.xz
Bug 640756 - Make the documentation clearer that attachments created with Bug.add_attachment must by of type 'base64' when non-ASCII
. r=LpSolit, a=LpSolit
-rw-r--r--Bugzilla/WebService/Bug.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 5d5f49b26..578c06ec5 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -2392,7 +2392,9 @@ these bugs.
=item C<data>
-B<Required> C<base64> The content of the attachment.
+B<Required> C<base64> or C<string> The content of the attachment.
+If the content of the attachment is not ASCII text, you must encode
+it in base64 and declare it as the C<base64> type.
=item C<file_name>