Mercurial Hosting > luan
changeset 1127:5c99a3c0f882
fix security
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 26 Nov 2017 21:08:49 -0700 |
parents | ffb47187f02f |
children | 34dfed3b5cb0 |
files | src/luan/modules/IoLuan.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r ffb47187f02f -r 5c99a3c0f882 src/luan/modules/IoLuan.java --- a/src/luan/modules/IoLuan.java Sun Nov 26 14:48:28 2017 -0700 +++ b/src/luan/modules/IoLuan.java Sun Nov 26 21:08:49 2017 -0700 @@ -605,7 +605,7 @@ public static LuanTable file(LuanState luan,String name) throws LuanException { File file = new File(name); - return new LuanFile(file).table(); + return new LuanFile(luan,file).table(); } public static LuanTable classpath(LuanState luan,String name) throws LuanException {