[smuxi: 1/3] Frontend-GNOME: fixed joining ##foo channels on freenode with the join bar
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/3] Frontend-GNOME: fixed joining ##foo channels on freenode with the join bar
- Date: Fri, 14 Mar 2014 00:46:13 +0000 (UTC)
commit 46c8fc81ce18f4243fbb5a4836cba5b47f3cc9b4
Author: Mirco Bauer <meebey meebey net>
Date: Fri Mar 14 00:27:02 2014 +0100
Frontend-GNOME: fixed joining ##foo channels on freenode with the join bar
src/Frontend-GNOME/Frontend.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/Frontend.cs b/src/Frontend-GNOME/Frontend.cs
index d03d69f..ed38bbd 100644
--- a/src/Frontend-GNOME/Frontend.cs
+++ b/src/Frontend-GNOME/Frontend.cs
@@ -22,6 +22,7 @@
using System;
using System.IO;
+using System.Net;
using System.Linq;
using System.Threading;
using System.Reflection;
@@ -782,6 +783,7 @@ namespace Smuxi.Frontend.Gnome
// supported:
// smuxi://freenode/#smuxi
+ // smuxi://freenode/#%23csharp (##csharp)
// irc://#smuxi
// irc://irc.oftc.net/
// irc://irc.oftc.net/#smuxi
@@ -801,7 +803,8 @@ namespace Smuxi.Frontend.Gnome
break;
}
}
- var linkChat = link.Fragment;
+ // decode #%23csharp to ##csharp
+ var linkChat = WebUtility.UrlDecode(link.Fragment);
if (String.IsNullOrEmpty(linkChat)) {
linkChat = link.AbsolutePath.Substring(1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]