Changeset a55742a in mod_gnutls


Ignore:
Timestamp:
Nov 1, 2019, 2:17:57 PM (3 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
20a20df
Parents:
fbef621
Message:

Test suite: Remove URLs from expected error responses

Apache HTTPD removed request URLs from canned error messages to
prevent misleading text/links being displayed via crafted links
(CVE-2019-10092). Adjust the expected error responses in our tests so
they can pass again.

Location:
test/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • test/tests/18_client_verification_wrong_cert/output

    rfbef621 ra55742a  
     1<html><head>
     2<title>403 Forbidden</title>
    13</head><body>
    24<h1>Forbidden</h1>
    3 <p>You don't have permission to access /test.txt
    4 on this server.<br />
    5 </p>
     5<p>You don't have permission to access this resource.</p>
    66</body></html>
    77- Peer has closed the GnuTLS connection
  • test/tests/21_TLS_reverse_proxy_wrong_cert/output

    rfbef621 ra55742a  
    11HTTP/1.1 502 Proxy Error
    2 Content-Length: 407
     2Content-Length: 341
    33Connection: close
    44Content-Type: text/html; charset=iso-8859-1
     
    1111<p>The proxy server received an invalid
    1212response from an upstream server.<br />
    13 The proxy server could not handle the request <em><a href="/proxy/test.txt">GET&nbsp;/proxy/test.txt</a></em>.<p>
    14 Reason: <strong>Error reading from remote server</strong></p></p>
     13The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>
    1514</body></html>
    1615- Peer has closed the GnuTLS connection
  • test/tests/22_TLS_reverse_proxy_crl_revoke/output

    rfbef621 ra55742a  
    11HTTP/1.1 502 Proxy Error
    2 Content-Length: 407
     2Content-Length: 341
    33Connection: close
    44Content-Type: text/html; charset=iso-8859-1
     
    1111<p>The proxy server received an invalid
    1212response from an upstream server.<br />
    13 The proxy server could not handle the request <em><a href="/proxy/test.txt">GET&nbsp;/proxy/test.txt</a></em>.<p>
    14 Reason: <strong>Error reading from remote server</strong></p></p>
     13The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>
    1514</body></html>
    1615- Peer has closed the GnuTLS connection
  • test/tests/23_TLS_reverse_proxy_mismatched_priorities/output

    rfbef621 ra55742a  
    11HTTP/1.1 502 Proxy Error
    2 Content-Length: 407
     2Content-Length: 341
    33Connection: close
    44Content-Type: text/html; charset=iso-8859-1
     
    1111<p>The proxy server received an invalid
    1212response from an upstream server.<br />
    13 The proxy server could not handle the request <em><a href="/proxy/test.txt">GET&nbsp;/proxy/test.txt</a></em>.<p>
    14 Reason: <strong>Error reading from remote server</strong></p></p>
     13The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>
    1514</body></html>
    1615- Peer has closed the GnuTLS connection
Note: See TracChangeset for help on using the changeset viewer.