Commit 5371c382 authored by Ankit's avatar Ankit Committed by Andrés G. Aragoneses

Podcasting: assume HTTP if no protocol in URL (bgo#729193)

URLs which were not full (of the form protocol://address) were considered
as invalid. Let's test http:// as a default protocol before giving the user
an error.
Signed-off-by: 's avatarAndrés G. Aragoneses <knocte@gmail.com>
parent 8d9d5970
......@@ -343,7 +343,7 @@ namespace Banshee.Podcasting.Gui
return;
}
if (!TryParseUrl (url, out feedUri)) {
if (!TryParseUrl (url, out feedUri) && !TryParseUrl ("http://" + url, out feedUri)) {
HigMessageDialog.RunHigMessageDialog (
null,
DialogFlags.Modal,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment