Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Oct 29, 2024
1 parent 82dc3aa commit cab3f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7404,7 +7404,7 @@ function storeAndGetExternalReferrer()
// Check if the session does not have an external referrer or if it's different from the current one
if (!isset($_SESSION['external_referrer']) || $_SESSION['external_referrer'] !== $sanitizedReferrer) {
if (!empty($sanitizedReferrer)) {
_error_log('external_referrer changed' . json_encode(debug_backtrace()));
//_error_log('external_referrer changed' . json_encode(debug_backtrace()));
// Store the sanitized and escaped external referrer in the session
$_SESSION['external_referrer'] = htmlspecialchars($sanitizedReferrer, ENT_QUOTES, 'UTF-8');
}
Expand Down

0 comments on commit cab3f1d

Please sign in to comment.