roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Liu (JIRA)" <>
Subject [Roller-JIRA] Created: (ROL-1542) resource path in i18n directory or filename
Date Tue, 21 Aug 2007 16:22:54 GMT
resource path in i18n directory or filename

                 Key: ROL-1542
             Project: Roller
          Issue Type: Bug
         Environment: trunk
            Reporter: Jian Liu
            Assignee: Roller Unassigned

if create a i18n name directory in a blog's resource space, then the resource path in resource
url should be encoded.

add below method in

     * URL encode a path string using UTF-8. The path seprator '/' will not be encoded
    public static final String encodePath(String path) {
        int i = path.indexOf('/');
        StringBuffer sb = new StringBuffer();
		while(i!=-1) {
			path = path.substring(i+1);
			i = path.indexOf('/');
        return sb.toString();

then modified the getWeblogResourceURL method in MultiWeblogURLStrategy;

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message