[banshee/stable-2.6] Revert "Podcasting: assume HTTP if no protocol in URL (bgo#729193)" et al



commit 61c4a8530322c56a76dbc3e1b7ccda8f40977acf
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Mon Jul 6 22:50:23 2015 +0200

    Revert "Podcasting: assume HTTP if no protocol in URL (bgo#729193)" et al
    
    This reverts commits:
    - be398a852c15362932ebeadb1f03fd127cc0e880
    - 3e0c6c6643bb706486f8c69f5c4a995dba23d419
    
    This was a feature, not a bugfix actually, so it shouldn't
    have gone to stable-2.6. Plus, I'm wary of its implementation
    now (I want to review it before 2.9.vNext release).

 .../Banshee.Podcasting.Gui/PodcastActions.cs       |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs 
b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
index 3e8c5b1..619a4a0 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
@@ -341,8 +341,7 @@ namespace Banshee.Podcasting.Gui
                 return;
             }
 
-            Uri tweaked_feed_uri;
-            if (!TryParseUrl (url, out feedUri) && !TryParseUrl ("http://"; + url, out tweaked_feed_uri)) {
+            if (!TryParseUrl (url, out feedUri)) {
                 HigMessageDialog.RunHigMessageDialog (
                     null,
                     DialogFlags.Modal,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]