Current time: 11-26-2024, 08:41 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Erledigt] Bug oder Feature? Subdomainhosting nicht möglich wenn Zahl im Domainnamen.
Author Message
Nuxwin
Unregistered

 
Post: #17
RE: Bug oder Feature? Subdomainhosting nicht mehr möglich.
(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);

11-29-2009 01:42 AM
Thread Closed 


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

Forum Jump:


User(s) browsing this thread: 11 Guest(s)