changeset 1970:08baa34da100

netx: fix browser command in BasicService.showDocument(URL) 2010-07-29 Omair Majid <omajid@redhat.com> * NEWS: Add this fix. * rt/net/sourceforge/jnlp/services/XBasicService.java (showDocument): Fix missing space in browser command.
author Omair Majid <omajid@redhat.com>
date Thu, 29 Jul 2010 17:26:39 -0400
parents 8e46ad398f83
children 9e75f57aae29
files ChangeLog NEWS rt/net/sourceforge/jnlp/services/XBasicService.java
diffstat 3 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jul 28 13:09:43 2010 +0100
+++ b/ChangeLog	Thu Jul 29 17:26:39 2010 -0400
@@ -1,3 +1,9 @@
+2010-07-29  Omair Majid  <omajid@redhat.com>
+
+	* NEWS: Add this fix.
+	* rt/net/sourceforge/jnlp/services/XBasicService.java
+	(showDocument): Fix missing space in browser command.
+
 2010-07-27  Andrew John Hughes  <ahughes@redhat.com>
 
 	* acinclude.m4:
--- a/NEWS	Wed Jul 28 13:09:43 2010 +0100
+++ b/NEWS	Thu Jul 29 17:26:39 2010 -0400
@@ -1,3 +1,8 @@
+New in release 1.7.5 (XXXX-XX-XX):
+
+* NetX
+ - Fix browser command in BasicService.showDocument(URL)
+
 New in release 1.7.4 (2010-07-28):
 
 * NetX security issues:
--- a/rt/net/sourceforge/jnlp/services/XBasicService.java	Wed Jul 28 13:09:43 2010 +0100
+++ b/rt/net/sourceforge/jnlp/services/XBasicService.java	Thu Jul 29 17:26:39 2010 -0400
@@ -176,7 +176,7 @@
                 // this is bogus because the command may require options;
                 // should use a StreamTokenizer or similar to get tokens
                 // outside of quotes.
-                Runtime.getRuntime().exec(command + url.toString());
+                Runtime.getRuntime().exec(command + " " + url.toString());
                 //Runtime.getRuntime().exec(new String[]{command,url.toString()});
 
                 return true;