From: <ap...@vh...> - 2005-12-13 23:48:15
|
Author: apevec Date: 2005-12-14 00:45:39 +0100 (Wed, 14 Dec 2005) New Revision: 1051 Modified: trunk/ccm-cms-types-siteproxy/src/com/arsdigita/cms/contenttypes/SiteProxy.java Log: trim spaces, otherwise SiteProxyPanel.passParameters constructs wrong URL Modified: trunk/ccm-cms-types-siteproxy/src/com/arsdigita/cms/contenttypes/SiteProxy.java =================================================================== --- trunk/ccm-cms-types-siteproxy/src/com/arsdigita/cms/contenttypes/SiteProxy.java 2005-12-13 22:52:55 UTC (rev 1050) +++ trunk/ccm-cms-types-siteproxy/src/com/arsdigita/cms/contenttypes/SiteProxy.java 2005-12-13 23:45:39 UTC (rev 1051) @@ -78,7 +78,11 @@ } public String getURL() { - return (String) get(URL); + String url = (String) get(URL); + if (url != null) { + url.trim(); + } + return url; } public void setURL(String url) { |