Revision ea94470a src/gr/grnet/pithos/web/client/foldertree/AccountResource.java
b/src/gr/grnet/pithos/web/client/foldertree/AccountResource.java | ||
---|---|---|
44 | 44 |
|
45 | 45 |
import com.google.gwt.http.client.Header; |
46 | 46 |
import com.google.gwt.http.client.Response; |
47 |
import com.google.gwt.http.client.URL; |
|
47 | 48 |
import com.google.gwt.i18n.client.DateTimeFormat; |
48 | 49 |
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat; |
49 | 50 |
import com.google.gwt.i18n.client.NumberFormat; |
... | ... | |
143 | 144 |
if (h != null) { |
144 | 145 |
String name = h.getName(); |
145 | 146 |
if (name.startsWith("X-Account-Group-")) { |
146 |
String groupName = name.substring("X-Account-Group-".length()).trim().toLowerCase();
|
|
147 |
String groupName = URL.decodePathSegment(name.substring("X-Account-Group-".length())).trim().toLowerCase();
|
|
147 | 148 |
Group g = new Group(groupName); |
148 | 149 |
String[] members = h.getValue().split(","); |
149 | 150 |
for (String s : members) |
Also available in: Unified diff