]> andersk Git - test.git/commitdiff
Fixed variable expansion in service descriptions.
authorMarkus Gutschke <markus@shellinabox.com>
Tue, 28 Apr 2009 07:12:55 +0000 (07:12 +0000)
committerMarkus Gutschke <markus@shellinabox.com>
Tue, 28 Apr 2009 07:12:55 +0000 (07:12 +0000)
ChangeLog
config.h
configure
configure.ac
demo/vt100.js
shellinabox/launcher.c
shellinabox/shell_in_a_box.js
shellinabox/vt100.js

index d41c1e65fa67f2d69922d52250be106172b915ce..fead75c0c15ba5171b0c6e9c716143481acac209 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28  Markus Gutschke  <markus@shellinabox.com>
+
+       * Fixed variable expansion in service descriptions.
+       
 2009-04-27  Markus Gutschke  <markus@shellinabox.com>
 
        * Released version 2.7
index 6757193dde224db71079dc67dc01e9f12a270aaa..a4d4c0e8654300391451d6fb22c49e3edcd010be 100644 (file)
--- a/config.h
+++ b/config.h
@@ -95,7 +95,7 @@
 #define STDC_HEADERS 1
 
 /* Most recent revision number in the version control system */
-#define VCS_REVISION "117"
+#define VCS_REVISION "118"
 
 /* Version number of package */
 #define VERSION "2.7"
index 104000658ae2f91fc22e48547b5549131239667e..5bb914f5e850932278e9ce037231ca5d9c225c49 100755 (executable)
--- a/configure
+++ b/configure
@@ -2056,7 +2056,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-VCS_REVISION=117
+VCS_REVISION=118
 
 
 cat >>confdefs.h <<_ACEOF
index 2f8423cbd4ca776442af74110c4fdfb663b0b138..998856a2d0bed8f63312f2df5fd8928949126abd 100644 (file)
@@ -2,7 +2,7 @@ AC_PREREQ(2.57)
 
 dnl This is the one location where the authoritative version number is stored
 AC_INIT(shellinabox, 2.7, markus@shellinabox.com)
-VCS_REVISION=117
+VCS_REVISION=118
 AC_SUBST(VCS_REVISION)
 AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
                    [Most recent revision number in the version control system])
index b852621a4aa8f674b8572767d30f755d87f8edfc..dafd0ba660111725f8b87cd44b4db4aeba988c8f 100644 (file)
@@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.7 (revision 117)" +
+  alert("VT100 Terminal Emulator " + "2.7 (revision 118)" +
         "\nCopyright 2008-2009 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
index ad7cb0aa3f720eabb57c835fd050c9c9f24d4d20..be94153f6abb5756916055ada4bfbd82db3019ee 100644 (file)
@@ -944,7 +944,7 @@ static void execService(int width, int height, struct Service *service,
     case '$':
       if ((quote == NONE || quote == DOUBLE) && ptr[1] == '{') {
         // Always treat environment variables as if they were quoted. There
-        // is not good reason for us to try to look for spaces within
+        // is no good reason for us to try to look for spaces within
         // expanded environment variables. This just leads to subtle bugs.
         char *end             = ptr + 2;
         while (*end && *end != '}') {
@@ -952,7 +952,7 @@ static void execService(int width, int height, struct Service *service,
         }
         char ch               = *end;
         *end                  = '\000';
-        const char *repl      = getFromHashMap(vars, ptr);
+        const char *repl      = getFromHashMap(vars, ptr + 2);
         int replLen           = repl ? strlen(repl) : 0;
         *end                  = ch;
         if (ch) {
index 3a3a3f3135899819e8998447eb25609ba16467c8..6a50b8b5ea2f55ca8661a996bc62462c0dc24ac3 100644 (file)
@@ -355,7 +355,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
 };
 
 ShellInABox.prototype.about = function() {
-  alert("Shell In A Box version " + "2.7 (revision 117)" +
+  alert("Shell In A Box version " + "2.7 (revision 118)" +
         "\nCopyright 2008-2009 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com" +
         (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
index b852621a4aa8f674b8572767d30f755d87f8edfc..dafd0ba660111725f8b87cd44b4db4aeba988c8f 100644 (file)
@@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.7 (revision 117)" +
+  alert("VT100 Terminal Emulator " + "2.7 (revision 118)" +
         "\nCopyright 2008-2009 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
This page took 0.098301 seconds and 5 git commands to generate.