diff --git a/databases/static/databases/databases.js b/databases/static/databases/databases.js
index e13d25977..d1e91175b 100755
--- a/databases/static/databases/databases.js
+++ b/databases/static/databases/databases.js
@@ -106,7 +106,7 @@ app.controller('createDatabase', function ($scope, $http) {
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
- $scope.dbPassword = randomPassword(12);
+ $scope.dbPassword = randomPassword(16);
};
$scope.usePassword = function () {
@@ -447,7 +447,7 @@ app.controller('listDBs', function ($scope, $http) {
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
- $scope.dbPassword = randomPassword(12);
+ $scope.dbPassword = randomPassword(16);
};
$scope.usePassword = function () {
@@ -493,4 +493,4 @@ app.controller('phpMyAdmin', function ($scope, $http, $window) {
}
setupPHPMYAdminSession();
-});
\ No newline at end of file
+});
diff --git a/filemanager/views.py b/filemanager/views.py
index 6edc740ea..57a3d5d0f 100755
--- a/filemanager/views.py
+++ b/filemanager/views.py
@@ -64,10 +64,11 @@ def downloadFile(request):
try:
userID = request.session['userID']
admin = Administrator.objects.get(pk=userID)
- import urllib.parse
+ from urllib.parse import quote
+ from django.utils.encoding import iri_to_uri
fileToDownload = request.build_absolute_uri().split('fileToDownload')[1][1:]
- fileToDownload = urllib.parse.unquote(fileToDownload)
+ fileToDownload = iri_to_uri(fileToDownload)
domainName = request.GET.get('domainName')
diff --git a/ftp/static/ftp/ftp.js b/ftp/static/ftp/ftp.js
index 679a8b5f7..a80377e6b 100755
--- a/ftp/static/ftp/ftp.js
+++ b/ftp/static/ftp/ftp.js
@@ -113,7 +113,7 @@ app.controller('createFTPAccount', function ($scope, $http) {
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
- $scope.ftpPassword = randomPassword(12);
+ $scope.ftpPassword = randomPassword(16);
};
$scope.usePassword = function () {
@@ -451,11 +451,11 @@ app.controller('listFTPAccounts', function ($scope, $http) {
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
- $scope.ftpPassword = randomPassword(12);
+ $scope.ftpPassword = randomPassword(16);
};
$scope.usePassword = function () {
$scope.generatedPasswordView = true;
};
-});
\ No newline at end of file
+});
diff --git a/loginSystem/templates/loginSystem/login.html b/loginSystem/templates/loginSystem/login.html
index 4493f80fa..06aecce9b 100755
--- a/loginSystem/templates/loginSystem/login.html
+++ b/loginSystem/templates/loginSystem/login.html
@@ -197,21 +197,21 @@
@@ -235,4 +235,4 @@