|
@@ -0,0 +1,18 @@
+--- scripts/browser/kvi_run_netscape
++++ scripts/browser/kvi_run_netscape
+@@ -7,6 +7,9 @@
+ if [ -z "$1" ]; then
+ echo "Missing URL"
+ else
++ if which desktop-launch > /dev/null; then
++ desktop-launch "$1" 2>/dev/null
++ else
+ for BROWSER in firefox seamonkey mozilla netscape ""; do
+ if [ -z "$BROWSER" ]; then
+ echo "Could not find either Netscape or Mozilla"
+@@ -21,4 +24,5 @@
+ echo "$BROWSER is not currently running. Starting a new instance..."
+ exec "$BROWSER" "$1"
+ fi
++ fi
+ fi
|
@@ -0,0 +1,11 @@
+--- src/kvirc/kernel/kvi_main.cpp
++++ src/kvirc/kernel/kvi_main.cpp
+@@ -228,6 +228,8 @@
+ if(parseIrcUrl(p,tmp))
+ {
+ if(a->szExecCommand.hasData())a->szExecCommand.append('\n');
++ tmp.replaceAll("$",""); // the urls can't contain $ signs
++ tmp.replaceAll(";",""); // the urls can't contain ; signs
+ a->szExecCommand.append(tmp);
+ } else debug("Invalid irc:// URL \"%s\"",p);
+ } else {
|