Mercurial Hosting > luan
comparison src/luan/modules/Io.luan @ 1330:f41919741100
fix security
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 Feb 2019 01:38:55 -0700 |
parents | 70eecde81820 |
children | 8d95711f6615 |
comparison
equal
deleted
inserted
replaced
1329:5a39b006acd1 | 1330:f41919741100 |
---|---|
12 Io.schemes = Boot.schemes | 12 Io.schemes = Boot.schemes |
13 Io.uri = Boot.uri | 13 Io.uri = Boot.uri |
14 Io.stdin = Boot.new_LuanIn( IoLuan.defaultStdin ) | 14 Io.stdin = Boot.new_LuanIn( IoLuan.defaultStdin ) |
15 Io.stdout = Boot.text_writer(System.out) | 15 Io.stdout = Boot.text_writer(System.out) |
16 Io.stderr = Boot.text_writer(System.err) | 16 Io.stderr = Boot.text_writer(System.err) |
17 Io.unrestricted = IoLuan.unrestricted | |
18 | 17 |
19 -- used by http and rpc | 18 -- used by http and rpc |
20 Io.password = "password" | 19 Io.password = "password" |
21 | 20 |
22 local Luan = require "luan:Luan.luan" | 21 local Luan = require "luan:Luan.luan" |