Mercurial Hosting > luan
diff src/luan/modules/http/tools/Shell.luan @ 1245:2de84f128be3
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 16 Jul 2018 17:26:45 -0600 |
parents | a50803fde972 |
children | 5ba660381bd5 |
line wrap: on
line diff
--- a/src/luan/modules/http/tools/Shell.luan Mon Jul 09 00:52:25 2018 -0600 +++ b/src/luan/modules/http/tools/Shell.luan Mon Jul 16 17:26:45 2018 -0600 @@ -71,7 +71,7 @@ end function Shell.respond() - local session_id = Http.request.cookies.session + local session_id = Http.request.cookies["session"] if session_id == nil then session_id = new_session() Http.response.set_cookie("session",session_id) @@ -130,7 +130,7 @@ <h2>Luan Shell</h2> <p>This is a command shell. Enter commands below.</p> <pre><%= session.history() %></pre> - <form name='form0' method='post'> + <form method='post'> % <input type="text" name='cmd' size="80" autofocus> <input type="submit" value="run"> <input type="submit" name="clear" value="clear">