You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imported trac ticket
created: 2009-10-05 09:07:15
reporter: fung0 and Herrminator
If one is using "base domain" strictness, going to a location with a single-word hostname (e.g. "localhost") results in not recognizing a hostname at all.
This bug is the result of the refactoring done to modules/DomainUtil.jsm in r274 where I removed the "fall through" of trying to grab a different identifier from the URI if the default level's logic fails.
Fixed in r291. It turns out that even though the direct cause of the appearance of this bug was removing the fall-through behavior, the underlying issue was actually a bug in exception handling. The fall-through shouldn't have been needed.
If one is using "base domain" strictness, going to a location with a single-word hostname (e.g. "localhost") results in not recognizing a hostname at all.
For example:
http://localhost/phpmyadmin/
results in the following blocked destinations in the menu:
http://localhost/phpmyadmin/favicon.ico
http://localhost/phpmyadmin/pring.css
...
This bug is the result of the refactoring done to modules/DomainUtil.jsm in r274 where I removed the "fall through" of trying to grab a different identifier from the URI if the default level's logic fails.
Original report (same issue noticed by different users):
http://forums.mozillazine.org/viewtopic.php?p=7648765#p7648765
The text was updated successfully, but these errors were encountered: