[pLog-svn] r6850 - plog/branches/lifetype-1.2/class/net
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Apr 11 13:16:32 EDT 2009
Author: jondaley
Date: 2009-04-11 13:16:32 -0400 (Sat, 11 Apr 2009)
New Revision: 6850
Modified:
plog/branches/lifetype-1.2/class/net/url.class.php
Log:
Apparently, earlier versions of LifeType could tolerate an accidental space at the beginning of the subdomains_base_url. I'll add code to remove it on the config page, but we'll need to filter it here too, in the case where people already have an extra space saved in the database. It would be next to impossible for a user to figure out why his blog wasn't working if this code wasn't changed
Modified: plog/branches/lifetype-1.2/class/net/url.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/url.class.php 2009-04-07 00:33:17 UTC (rev 6849)
+++ plog/branches/lifetype-1.2/class/net/url.class.php 2009-04-11 17:16:32 UTC (rev 6850)
@@ -44,7 +44,7 @@
*/
function Url( $url )
{
- $this->_url = $url;
+ $this->_url = trim($url);
$this->_calculateFields();
}
More information about the pLog-svn
mailing list