silverstripe-archive / silverstripe-mobile

Mobile support module for SilverStripe CMS
http://silverstripe.org/mobile/
BSD 3-Clause "New" or "Revised" License
35 stars 36 forks source link

FIX: getFullSiteDomainNormalized() could never return false. #37

Closed kinglozzer closed 11 years ago

kinglozzer commented 11 years ago

getFullSiteDomainNormalized() and getMobileDomainNormalized() didn't check if a domain was actually set before validating it. This resulted in both functions returning 'http://' instead of false when no domain was present.