mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to allow proxy links to open as they are if the referrer is trusted
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user