arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Uploading levels when levelgen is in scripts fails #482

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to upload a level to another server when the levelgen of that level 
is in the scripts directory.
2. It fails: cannot find levelgen

What is the expected output? What do you see instead?
You expect to upload the level, but it fails.

What version of the product are you using? On what operating system?
019c Windows 8.1

Please provide any additional information below.
Moving the script to the levels directory works

Original issue reported on code.google.com by corteocarl on 15 Nov 2014 at 4:37

GoogleCodeExporter commented 9 years ago
This is actually a security issue - Lua scripts in the 'scripts' directory do 
special things and have special access.  Allowing an upload to here is a very, 
very bad idea.

Are you think it would upload a 'scripts' script to the server's 'levels' 
directory?

Original comment by buckyballreaction on 15 Nov 2014 at 5:35