View | Details | Raw Unified | Return to bug 83397
Collapse All | Expand All

(-)www/en/cgi/dosendpr.cgi (-2 / +11 lines)
Lines 153-158 Link Here
153
if ($blackhole_err) {
153
if ($blackhole_err) {
154
      $pr .= "X-REMOTE_ADDR-Is-Open-Proxy: Maybe\n";
154
      $pr .= "X-REMOTE_ADDR-Is-Open-Proxy: Maybe\n";
155
}
155
}
156
157
{ 
158
      use bytes; 
159
      if (length($cgi_bin{'patch'}) > 1048576) {
160
            die "patchfile too big!";
161
      }
162
}
163
156
$pr .= "X-Send-Pr-Version: www-2.3\n\n" .
164
$pr .= "X-Send-Pr-Version: www-2.3\n\n" .
157
      ">Submitter-Id:\t$cgi_data{'submitterid'}\n" .
165
      ">Submitter-Id:\t$cgi_data{'submitterid'}\n" .
158
      ">Originator:\t$cgi_data{'originator'}\n" .
166
      ">Originator:\t$cgi_data{'originator'}\n" .
Lines 167-175 Link Here
167
      ">Environment:\t$cgi_data{'environment'}\n" .
175
      ">Environment:\t$cgi_data{'environment'}\n" .
168
      ">Description:\n$cgi_data{'description'}\n" .
176
      ">Description:\n$cgi_data{'description'}\n" .
169
      ">How-To-Repeat:\n$cgi_data{'howtorepeat'}\n" .
177
      ">How-To-Repeat:\n$cgi_data{'howtorepeat'}\n" .
170
      ">Fix:\n$cgi_data{'fix'}\n";
178
      ">Fix:\n$cgi_data{'fix'}\n" .
179
      "$cgi_data{'patch'}\n";
171
180
172
# remove any carrage returns that appear in the report.
181
# remove any carriage returns that appear in the report.
173
$pr =~ s/\r//g;
182
$pr =~ s/\r//g;
174
183
175
if (open (SUBMIT, "|$submission_program")){
184
if (open (SUBMIT, "|$submission_program")){
(-)www/en/send-pr.sgml (-1 / +5 lines)
Lines 38-44 Link Here
38
      the <a href="mailto:&bugbusters;">bugbusters team</a> for submission
38
      the <a href="mailto:&bugbusters;">bugbusters team</a> for submission
39
      into the bug tracking system.</p>
39
      into the bug tracking system.</p>
40
40
41
    <form action="http://www.FreeBSD.org/cgi/dosendpr.cgi" method="post">
41
    <form action="http://www.FreeBSD.org/cgi/dosendpr.cgi" method="post"
42
          enctype="multipart/form-data">
42
      <input type="hidden" name="submitterid" value="current-users" >
43
      <input type="hidden" name="submitterid" value="current-users" >
43
      <input type="hidden" name="confidential" value="no" >
44
      <input type="hidden" name="confidential" value="no" >
44
      
45
      
Lines 111-116 Link Here
111
112
112
      <label for="fix">Fix to the problem if known</label>: <br>
113
      <label for="fix">Fix to the problem if known</label>: <br>
113
      <textarea name="fix" id="fix" rows="6" cols="72"></textarea><br>
114
      <textarea name="fix" id="fix" rows="6" cols="72"></textarea><br>
115
116
      <label for="patch">And/or patchfile</label>: 
117
      <input type="file" name="patch" id="patch" maxlength="1048576" accept="text/*">
114
118
115
      <label for="code-confirm">Finally, please enter the code from the image below to prove
119
      <label for="code-confirm">Finally, please enter the code from the image below to prove
116
	you're not a robot: <br>
120
	you're not a robot: <br>

Return to bug 83397