pcre: Improve sanity check in read_repeat_counts()
[privoxy.git] / debian / patches / 17_502_no_such_domain.patch
1 Author: Roland Rosenfeld <roland@debian.org>
2 Description: Changes the 404 HTTP status code of the "No such Domain" template
3  to 502 Bad Gateway, which seems to be more correct according to 
4  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
5
6 --- a/templates/no-such-domain
7 +++ b/templates/no-such-domain
8 @@ -79,7 +79,7 @@
9  <html>
10  
11  <head>
12 -  <title>404 - No such Domain (Privoxy@@my-hostname@)</title>
13 +  <title>502 - Bad Gateway (Privoxy@@my-hostname@)</title>
14    <meta http-equiv="Content-Style-Type" content="text/css">
15    <meta http-equiv="Content-Script-Type" content="text/javascript">
16    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
17 @@ -95,7 +95,7 @@
18    <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
19      <tr>
20        <td class="status">
21 -        404
22 +        502
23        </td>
24        <td class="title" style="width: 100%">
25