Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a7b7b39d
Commit
a7b7b39d
authored
Feb 10, 2011
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the POD of Bug.add_attachment to reflect that it now automatically
picks the content_type of text/plain when you set is_patch to true.
https://bugzilla.mozilla.org/show_bug.cgi?id=633041
parent
cee67bdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Bug.pm
Bugzilla/WebService/Bug.pm
+2
-3
No files found.
Bugzilla/WebService/Bug.pm
View file @
a7b7b39d
...
@@ -2402,9 +2402,8 @@ C<string> A comment to add along with this attachment.
...
@@ -2402,9 +2402,8 @@ C<string> A comment to add along with this attachment.
=item C<is_patch>
=item C<is_patch>
C<boolean> True if Bugzilla should treat this attachment as a patch.
C<boolean> True if Bugzilla should treat this attachment as a patch.
If you specify this, the C<content_type> should be C<text/plain>.
If you specify this, you do not need to specify a C<content_type>.
(Future versions of Bugzilla will force the C<content_type> setting
The C<content_type of the attachment will be forced to C<text/plain>.
to C<text/plain> for patches and you will not have to specify it manually.)
Defaults to False if not specified.
Defaults to False if not specified.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment