Skip to content

Commit

Permalink
Fix: fixed cookie names in sfw_die_page
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemAnoshin committed Aug 31, 2021
1 parent 6033dce commit af14991
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cleantalk/lib/sfw_die_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
<body>
<div class='container'>
<h1 class='main'>{SFW_DIE_NOTICE_IP}<a href='https://cleantalk.org/blacklists/{REMOTE_ADDRESS}' target='_blank'>{REMOTE_ADDRESS}</a></h1>

<h3>{REAL_IP__HEADER} {REAL_IP} {REAL_IP_BLOCKED}</h3>
<h3>{TEST_IP__HEADER} {TEST_IP} {TEST_IP_BLOCKED}</h3>

<h2>{TEST_TITLE}</h2>

<div id='js_info'><br />{SFW_DIE_MAKE_SURE_JS_ENABLED}</div>

<div id='js_passed'>
<h3>{SFW_DIE_CLICK_TO_PASS}</h3>
<a href='{REQUEST_URI}'><script>get_current_url();</script></a>
Expand All @@ -64,18 +64,18 @@ <h3>{SFW_DIE_CLICK_TO_PASS}</h3>
<script type='text/javascript'>
document.getElementById('js_info').style.display = 'none';
document.getElementById('js_passed').style.display = 'block';

document.getElementById('curr_date').innerHTML = ct_date.toGMTString();

if(location.search.search('debug=1') === -1){
setTimeout(function(){
window.location.href = window.location.origin + window.location.pathname + '?sfw=pass' + Math.round(ct_date.getTime()/1000);
}, reload_timeout);
}

setTimeout(function(){
set_spamFireWallCookie('{COOKIE_PREFIX}ct_sfw_pass_key','{SFW_COOKIE}');
set_spamFireWallCookie('{COOKIE_PREFIX}ct_sfw_passed','1');
set_spamFireWallCookie('{COOKIE_PREFIX}apbct_sfw_pass_key','{SFW_COOKIE}');
set_spamFireWallCookie('{COOKIE_PREFIX}apbct_sfw_passed','1');
}, 50);
</script>
{DEBUG}
Expand Down

0 comments on commit af14991

Please sign in to comment.