Author: sdumitriu Date: 2008-02-15 14:30:02 +0100 (Fri, 15 Feb 2008) New Revision: 7751
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/aspect/compatibility/com/xpn/xwiki/api/XWikiCompatibilityAspect.aj Log: XWIKI-2103: Add encodeURI and decodeURI to Util, deprecate XWiki.getURLEncoded, Utils.encode, Utils.decode Add the compatibility method to the aspect Modified: xwiki-platform/core/trunk/xwiki-core/src/main/aspect/compatibility/com/xpn/xwiki/api/XWikiCompatibilityAspect.aj =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/aspect/compatibility/com/xpn/xwiki/api/XWikiCompatibilityAspect.aj 2008-02-15 13:17:15 UTC (rev 7750) +++ xwiki-platform/core/trunk/xwiki-core/src/main/aspect/compatibility/com/xpn/xwiki/api/XWikiCompatibilityAspect.aj 2008-02-15 13:30:02 UTC (rev 7751) @@ -462,4 +462,16 @@ { return this.util.add(a, b); } + + /** + * Transform a text in a URL compatible text + * + * @param content text to transform + * @return encoded result + * @deprecated replaced by [EMAIL PROTECTED] Util#encodeURI(String)} since 1.3M2 + */ + public String XWiki.getURLEncoded(String content) + { + return this.util.encodeURI(content); + } } \ No newline at end of file _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications