Improve page load error information

Fixes #8640.

This commit adds a neterror page that displays really really basic
information about what went wrong with your request, which is an
improvement over the current state of blank page.

It also fixes the problem of certificate validation errors not
triggering the cert error page, since for some reason the function
string seems to have turned lowercase.
This commit is contained in:
Johann Hofmann 2016-07-21 15:12:12 +02:00
parent 46db988b90
commit 8e3593aa67
No known key found for this signature in database
GPG key ID: 15DD943556C9CC16
3 changed files with 23 additions and 4 deletions

8
resources/neterror.html Normal file
View file

@ -0,0 +1,8 @@
<html>
<head>
<title>Error loading page</title>
</head>
<body>
<p>Could not load the requested page: ${reason}</p>
</body>
</html>