ispCP - Board - Support
[Erledigt] Bug oder Feature? Subdomainhosting nicht möglich wenn Zahl im Domainnamen. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+---- Forum: Archiv (/forum-54.html)
+---- Thread: [Erledigt] Bug oder Feature? Subdomainhosting nicht möglich wenn Zahl im Domainnamen. (/thread-8603.html)

Pages: 1 2 3


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - FISA4 - 11-29-2009 01:09 AM

(11-29-2009 12:31 AM)nuxwin Wrote:  Moreover, the message you get is the "Wrong Top Level Domain: tld" , not "Wrong Second Level Domain syntax!"

FYI:

I´ve tried to add "home.fisa4.de" and i got the Message:

"Wrong Second Level Domain syntax!"

Wink

Greets

FISA4


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Lucan - 11-29-2009 01:10 AM

Quote:When I need to wipe me, I'll call you ! Tongue

I do not discuss more because obviously you do not read the response until the end.

I wrote my post before I read that you will add a parameter to deactivate this "feature"


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Nuxwin - 11-29-2009 01:11 AM

(11-29-2009 01:09 AM)FISA4 Wrote:  
(11-29-2009 12:31 AM)nuxwin Wrote:  Moreover, the message you get is the "Wrong Top Level Domain: tld" , not "Wrong Second Level Domain syntax!"

FYI:

I´ve tried to add "home.fisa4.de" and i got the Message:

"Wrong Second Level Domain syntax!"

Wink

Greets

FISA4

Yes, in this case, the TLD (de) is valid but not the the SLD ---> fisa4 because it contains a number.

Try whith this ---> domain.co.uk


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - FISA4 - 11-29-2009 01:18 AM

(11-29-2009 01:11 AM)nuxwin Wrote:  Yes, because the SLD ---> fisa4 contains a number.

Try whith this ---> domain.co.uk

I can´t understand, why the number will "produce" an error !?!
fisa4.de is working fine if i try to add it to 1.0.3

Now i am confused.
[Image: confused.jpg]


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Nuxwin - 11-29-2009 01:23 AM

(11-29-2009 01:18 AM)FISA4 Wrote:  
(11-29-2009 01:11 AM)nuxwin Wrote:  Yes, because the SLD ---> fisa4 contains a number.

Try whith this ---> domain.co.uk

I can´t understand, why the number will "produce" an error !?!
fisa4.de is working fine if i try to add it to 1.0.3

Now i am confused.

Because for Domains, I introduced the notion of SLD as seen by the registrar sush as co.uk

Wikipedia:

Second-level domains commonly refer to the organization that registered the domain name with a domain name registrar. Some domain name registries introduce a second-level hierarchy to a TLD that indicates the type of organization intended to register an SLD under it. For example, in the .uk namespace a college or other academic institution would register under the .ac.uk ccSLD, while companies would register under .co.uk.


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - FISA4 - 11-29-2009 01:35 AM

(11-29-2009 01:23 AM)nuxwin Wrote:  
(11-29-2009 01:18 AM)FISA4 Wrote:  
(11-29-2009 01:11 AM)nuxwin Wrote:  Yes, because the SLD ---> fisa4 contains a number.

Try whith this ---> domain.co.uk

I can´t understand, why the number will "produce" an error !?!
fisa4.de is working fine if i try to add it to 1.0.3

Now i am confused.

Because for Domains, I introduced the notion of SLD as seen by the registrar sush as co.uk

Wikipedia:

Second-level domains commonly refer to the organization that registered the domain name with a domain name registrar. Some domain name registries introduce a second-level hierarchy to a TLD that indicates the type of organization intended to register an SLD under it. For example, in the .uk namespace a college or other academic institution would register under the .ac.uk ccSLD, while companies would register under .co.uk.

OK, but now i need informations, where and how can i change it, so the number "4" will not create the errormessage, because the domain "home.fisa4.de" is for my Installer-Demo-Server.

EDIT:
TOPIC Changed from:
Bug oder Feature? Subdomainhosting nicht möglich.

to:

Bug oder Feature? Subdomainhosting nicht möglich wenn eine Zahl im Domainnamen ist.


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Nuxwin - 11-29-2009 01:42 AM

(11-29-2009 01:35 AM)FISA4 Wrote:  
(11-29-2009 01:23 AM)nuxwin Wrote:  
(11-29-2009 01:18 AM)FISA4 Wrote:  
(11-29-2009 01:11 AM)nuxwin Wrote:  Yes, because the SLD ---> fisa4 contains a number.

Try whith this ---> domain.co.uk

I can´t understand, why the number will "produce" an error !?!
fisa4.de is working fine if i try to add it to 1.0.3

Now i am confused.

Because for Domains, I introduced the notion of SLD as seen by the registrar sush as co.uk

Wikipedia:

Second-level domains commonly refer to the organization that registered the domain name with a domain name registrar. Some domain name registries introduce a second-level hierarchy to a TLD that indicates the type of organization intended to register an SLD under it. For example, in the .uk namespace a college or other academic institution would register under the .ac.uk ccSLD, while companies would register under .co.uk.

OK, but now i need informations, where and how can i change it, so the number "4" will not create the errormessage, because the domain "home.fisa4.de" is for my Installer-Demo-Server.

In the gui/include/input-checks.php file :

Replace :
PHP Code:
function _validates_sld($sld$strict_sld true) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z]+\..+$@';

    return (bool) 
preg_match($pattern$sld);

by
PHP Code:
function _validates_sld($sld$strict_sld false) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z0-9]+\..+$@';

    return (bool) 
preg_match($pattern$sld);




RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - FISA4 - 11-29-2009 01:49 AM

(11-29-2009 01:42 AM)nuxwin Wrote:  In the gui/include/input-checks.php file :

Replace :
PHP Code:
function _validates_sld($sld$strict_sld true) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z]+\..+$@';

    return (bool) 
preg_match($pattern$sld);

by
PHP Code:
function _validates_sld($sld$strict_sld false) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z0-9]+\..+$@';

    return (bool) 
preg_match($pattern$sld);


Thanks.

By the way...

In Germany scSLD´s are allowed since 10/23/09.


RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Nuxwin - 11-29-2009 01:53 AM

(11-29-2009 01:49 AM)FISA4 Wrote:  Thanks.

By the way...

In Germany scSLD´s are allowed since 10/23/09.


PHP Code:
function _validates_sld($sld$strict_sld false) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements except for Germany since 2009/10/23.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com|'.
        
'[a-z]\.de';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z0-9]+\..+$@';

    return (bool) 
preg_match($pattern$sld);




RE: [Fertig] Bug oder Feature? Subdomainhosting nicht möglich wenn Zahl im Domainnamen. - FISA4 - 11-29-2009 02:19 AM

Kann geclosed werden.
Fehlerchen behoben. Wink