Revision d02b08f2 src/gr/grnet/pithos/web/client/FileContextMenu.java

b/src/gr/grnet/pithos/web/client/FileContextMenu.java
47 47

  
48 48
import java.util.List;
49 49

  
50
import com.google.gwt.http.client.URL;
50 51
import com.google.gwt.resources.client.ClientBundle;
51 52
import com.google.gwt.resources.client.ImageResource;
52 53
import com.google.gwt.user.client.Command;
......
248 249
			@Override
249 250
			public void execute() {
250 251
				for (File f : selectedFiles)
251
					Window.open(app.getApiPath() + f.getOwner() + f.getUri() + "?X-Auth-Token=" + app.getToken(), "_blank", "");
252
					Window.open(app.getApiPath() + f.getOwner() + f.getUri() + "?X-Auth-Token=" + URL.encodeQueryString(app.getToken()), "_blank", "");
252 253
			}
253 254
		}));
254 255

  

Also available in: Unified diff