Upload and Download throwing a warning in Authentic Theme

Hi,

Why does the "Upload and Download" in "Webmin/Others" all of the sudden throw a warning when downloading a folder from the server in Authentic Theme, it works fine in Virtualmin Framed Theme.

The warning say:

...was linked to from an unknown URL, which appears to be outside the Webmin server...

Of course it is outside the webmin server, i'm using "Download from server - Download file from server to PC".

Best regards, Leffe

Status: 
Closed (fixed)

Comments

Assigned: Unassigned »
Ilia's picture
Submitted by Ilia on Thu, 10/25/2018 - 03:06

Hi,

I am not sure why download is not working for you. Could you check my video-screencast to make sure we're talking about the same module?

What is your theme version and Webmin version? What is your browser?

Hi Ilia,

Yes it's the same module. It has been working all the time but all of the sudden I get the warning message, and the only thing changed is the latest update of webmin that also update Authentic Theme. If I switch to Framed Theme and go to the same module it works as it should.

Webmin 1.894, Usermin 1.741, Virtualmin 6.04 Pro, Authentic Theme 19.20-beta5

I use Windows 10 Pro and Firefox ESR 52.9.0 (32 bit) and Firefox 63.0 (64 bit) and it's the same on both.

Regards, Leffe

Ilia's picture
Submitted by Ilia on Thu, 10/25/2018 - 06:47

Okay, Leffe.

I see now. This is referer warning. It happens when the link is not opened from the current UI. (like inserted directly in the URL or opened from other source).

I had my referer check to be turned off . After I turned this on, and restarted Webmin I still could download it right, without any issue in Chrome and Safari, but true - Firefox gave an error. It means referer header is not set.

It's because I was trying to print first nice user message, instead of just pushing the file. But it appears that only Firefox and Internet Explorer doesn't keep referer on http-equiv=“refresh”. Which is sad.

https://stackoverflow.com/questions/2985579/does-http-equiv-refresh-keep...

I will find the way to hack it.

Hi Ilia,

Will this make it to a regular update soon?

Regards, Leffe

Ilia's picture
Submitted by Ilia on Fri, 11/02/2018 - 00:11

Jamie has few patches to do, as far as I know.

I will can release new theme any time. As everything major been done and fixed; few other things I wanted to do, could wait untill 19.21.

Maybe this weekend?

Ilia's picture
Submitted by Ilia on Sun, 12/23/2018 - 02:30

Status: Active » Closed (fixed)