Fixed addition of http protocol

This commit is contained in:
Ziver Koc 2014-08-07 14:47:08 +02:00
parent 692bd33bd3
commit 450ca0af17

View file

@ -45,6 +45,9 @@ public class UeBehaviourFileDownload extends UeBehaviour {
}
protected String getFileUrl() {
if(!url.startsWith("http://") && !url.startsWith("https://")
&& !url.startsWith("ftp://"))
url = "http://"+url;
return url;
}