Remove all whitespace from URL when adding
@ -32,6 +32,6 @@ public class AddByMagnetUrlTask extends DaemonTask {
return new AddByMagnetUrlTask(adapter, data);
}
public String getUrl() {
return extras.getString("URL");
return extras.getString("URL").replaceAll("\\s", "");
@ -33,7 +33,7 @@ public class AddByUrlTask extends DaemonTask {
return new AddByUrlTask(adapter, data);
public String getTitle() {
return extras.getString("TITLE");