Skip to content

Commit 5ddb047

Browse files
committed
Added error.html
1 parent 49b79f3 commit 5ddb047

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Version 2.35 August 25, 2021
44
- Fix: undefined index token.
55
- Fix: set js_key if empty.
66
- Fix: SpamFirewall check. PHP Notice.
7+
- Fix: Added error.html
78

89
Version 2.34 May 28, 2021
910
------------------------------

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[![Build Status](https://travis-ci.org/CleanTalk/smf-antispam.svg)](https://travis-ci.org/CleanTalk/smf-antispam)
55

6-
* **Version:** 2.34
6+
* **Version:** 2.35
77
* **License:** GNU General Public License
88
* **Compatible with:** SMF 2.0 and up
99
* **Languages:** English, Russian

cleantalk/error.html

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!DOCTYPE html>
2+
<!-- Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono
3+
-->
4+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
5+
<head>
6+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7+
<title>Blacklisted</title>
8+
<style type="text/css">
9+
html {
10+
background: #f1f1f1;
11+
}
12+
body {
13+
background: #fff;
14+
color: #444;
15+
font-family: "Open Sans", sans-serif;
16+
margin: 2em auto;
17+
padding: 1em 2em;
18+
max-width: 700px;
19+
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
20+
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
21+
}
22+
h1 {
23+
border-bottom: 1px solid #dadada;
24+
clear: both;
25+
color: #666;
26+
font: 24px "Open Sans", sans-serif;
27+
margin: 30px 0 0 0;
28+
padding: 0;
29+
padding-bottom: 7px;
30+
}
31+
#error-page {
32+
margin-top: 50px;
33+
}
34+
#error-page p {
35+
font-size: 14px;
36+
line-height: 1.5;
37+
margin: 25px 0 20px;
38+
}
39+
a {
40+
color: #21759B;
41+
text-decoration: none;
42+
}
43+
a:hover {
44+
color: #D54E21;
45+
}
46+
47+
</style>
48+
</head>
49+
<body id="error-page">
50+
<p><center><b style="color: #49C73B;">Clean</b><b style="color: #349ebf;">Talk.</b> Spam protection</center><br><br>
51+
%ERROR_TEXT%
52+
<script>setTimeout("history.back()", 5000);</script></p>
53+
<p><a href='javascript:history.back()'>&laquo; Back</a></p></body>
54+
</html>

package-info.xml

+2
Original file line numberDiff line numberDiff line change
@@ -630,12 +630,14 @@
630630
- Fix: undefined index token.
631631
- Fix: set js_key if empty.
632632
- Fix: SpamFirewall check. PHP Notice.
633+
- Fix: Added error.html
633634
</readme>
634635
<readme type="inline" parsebbc="true" lang="russian-utf8">Обновление Анти-спама от Cleantalk с версии 2.34 до 2.35:
635636
- Исправлена ошибка в cleantalk_is_valid_js
636637
- Исправлена ошибка с неизвестным индексом токена
637638
- Исправлена ошибка с пустым js_key
638639
- Убрали notice в SFW
640+
- Добавили error.html
639641
</readme>
640642

641643
<!-- Cleaning up old data -->

0 commit comments

Comments
 (0)