Fails to load websites in which the subdomain starts or ends with a hyphen.

RESOLVED DUPLICATE of bug 196852

Status

()

Firefox
General
RESOLVED DUPLICATE of bug 196852
12 years ago
12 years ago

People

(Reporter: João Pinheiro, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.5) Gecko/20060727 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.5) Gecko/20060727 Ubuntu/dapper-security Firefox/1.5.0.5

Firefox fails to find and load websites in which the domain starts or ends with a hyphen. Thus, the following valid pages fail to load:
 - http://aura-.deviantart.com/
 - http://-lildragon-.deviantart.com/

I can't find any website with a subdomain starting with a hyphen at the moment but I do know that such addresses fail to load as well. If for nothing else, addresses with a non-existing subdomain at deviantart.com return a 404 error page (such as http://this-page-doesnt-exist.deviantart.com/) while a page like http://-something.deviantart.com fails to validate.

All of the examples provided are based on deviantart.com since that's where I have found the most subdomains with hyphens, but I'm sure this also happens on other domain names.

Reproducible: Always

Steps to Reproduce:
1. Insert an address for a website in which the subdomain starts or ends with hyphen.
2. Click "Go" or press return.
3. Firefox fails to find the website.

Actual Results:  
Server not found
Firefox can't find the server at -lildragon-.deviantart.com.

Expected Results:  
Load the page correctly

*** This bug has been marked as a duplicate of 196852 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.