Sentora Support Forums
Solving strange behaviour Backupmgr - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Solving strange behaviour Backupmgr (/showthread.php?tid=2144)



Solving strange behaviour Backupmgr - bbspike - 11-11-2015

If you have youre panel on a subdomain with SSL you will notice that when starting a backup with the module backupmgr the preloader already loops before you hit the button "Backuo Now"

You can solve this with using jquery SSL url instead of the non SSL currently in launchbackup.php:

Code:
           <script src="https://code.jquery.com/jquery-latest.js"></script>



RE: Solving strange behaviour Backupmgr - Ron-e - 11-11-2015

uhmm.. why is sentora including external files??
Isn't this a possible security risk?

There are 2 files which are including the "https://code.jquery.com/jquery-latest.js" url in the backup:
https://github.com/sentora/sentora-core/blob/master/modules/backupmgr/code/launchbackup.php#L33
https://github.com/sentora/sentora-core/blob/master/modules/backupmgr/code/dobackup.php#L29


RE: Solving strange behaviour Backupmgr - bbspike - 11-17-2015

(11-11-2015, 05:14 AM)Ron-e Wrote: uhmm..  why is sentora including external files??
Isn't this a possible security risk?

There are 2 files which are including the "https://code.jquery.com/jquery-latest.js" url in the backup:
https://github.com/sentora/sentora-core/blob/master/modules/backupmgr/code/launchbackup.php#L33
https://github.com/sentora/sentora-core/blob/master/modules/backupmgr/code/dobackup.php#L29

With https links don't think its a problem.