Fix to allow proxy links to open as they are if the referrer is trusted

This commit is contained in:
Ilia Ross
2025-04-19 00:31:42 +03:00
parent a664809bf4
commit f71c413b6d

View File

@@ -5676,7 +5676,6 @@ else {
if ($ENV{'HTTP_X_REQUESTED_WITH'} ne "XMLHttpRequest" &&
$ENV{'REQUEST_URI'} !~ /xhr/ &&
$ENV{'REQUEST_URI'} !~ /pjax/ &&
$ENV{'REQUEST_URI'} !~ /link\.cgi\/\d+/ &&
$ENV{'REQUEST_URI'} =~ /xnavigation=1/) {
# Store request URI, if safe