Add - random query string when accessing status page

Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
Rob White
2025-08-31 17:32:42 +01:00
parent 5d72262b9c
commit 4f01369ef5
4 changed files with 17 additions and 8 deletions

View File

@@ -183,7 +183,7 @@ landing_page() {
Click or tap Continue to show the status of your account.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -205,7 +205,7 @@ landing_page() {
Click or tap Continue to try again.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -411,6 +411,9 @@ display_terms() {
# #
#################################################
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
# Quotas and Data Rates
#########################################
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):

View File

@@ -235,7 +235,7 @@ landing_page() {
Click or tap Continue to show the status of your account.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -259,7 +259,7 @@ landing_page() {
Click or tap Continue to try again.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -466,6 +466,8 @@ display_terms() {
# #
#################################################
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
# Quotas and Data Rates
#########################################
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):

View File

@@ -196,7 +196,7 @@ landing_page() {
Click or tap Continue to show the status of your account.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -218,7 +218,7 @@ landing_page() {
Click or tap Continue to try again.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -424,6 +424,8 @@ display_terms() {
# #
#################################################
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
# Quotas and Data Rates
#########################################
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):

View File

@@ -252,7 +252,7 @@ landing_page() {
Click or tap Continue to show the status of your account.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -276,7 +276,7 @@ landing_page() {
Click or tap Continue to try again.
</p>
<form>
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
</form>
<hr>
"
@@ -483,6 +483,8 @@ display_terms() {
# #
#################################################
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
# Quotas and Data Rates
#########################################
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):