Dear Team,
In cockpit browser configuration download in the backup, not working.
Thanks & Regards
Harish Aravilli
Dear Team,
In cockpit browser configuration download in the backup, not working.
Thanks & Regards
Harish Aravilli
Thank you for reporting!
I confirm that is not working with Firefox, but it works with Chrome.
@edoardo_spadoni could you take a look?
It seems a CSP issue only on FIrefox, if you open the console on your browser you can see the error in details. Iâll work on it for a solution. On Google Chrome works well.
console query:
API exec: system-backup/read
echo '{"action":"running-info"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
API exec: system-backup/execute
echo â{âactionâ:âdownload-backup-configâ,ânameâ:âc06â}â | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/execute | jq
API exec: system-backup/read
$ echo â{âactionâ:ârunning-infoâ}â | /usr/bin/sudo /usr/libexec/nethserver/api/system-backup/read | jq
![Screenshot%20from%202019-10-04%2010-54-11|1x1]
Basically Firefox implements CSP from other browsers.
This is a known Firefox bug, see:
Upstream Cockpit found a really ugly workaround.
We are investigating if we can apply the same fix.
The issue is opened: https://github.com/NethServer/dev/issues/5855 and the package will be in testing repo soon.
@HarishAravilli feel free to test the fix and tell us if it works. Thank you
Now Iam unable to test ,please confirm once changes affected in new updates.Then i can use the service.
Thanks in Advance
The packages have been tested released. Everything will be soon available on all mirrors
This dude rised again!
Steps to reproduce:
odBJatrQ
)s00.tar.xz
)(file comparison show no differencies)
The bug persits
Download with Firefox⌠(with Safari completely impossible to download)
wrong extension: DMS
wrong identifier: random characters
Thanks for the wakeup call!
@giacomo, what do you think is needed to fix this one?
A single malt glass? A fine coffee beans package? A nice italian beer?
The original bug was: the user canât download the file.
That bug has been fixed, but we canât fix the file name inside Firefox (please, se above upstream issues).
I do not like the file name, not the bad file extension, but itâs the only way to make it work on Firefox.
About Safari, sorry but we do not have any Apple machine to develop it.
Confirm for Firefox part. I worked on it and I was able only to fix the filename of VPN configuration, but not in Cockpit main module