spring / upq

extracts metadata of game and map files of the spring engine
https://springfiles.springrts.com/
GNU General Public License v3.0
2 stars 5 forks source link

filenames aren't correctly escaped #17

Closed abma closed 12 years ago

abma commented 13 years ago

underscores (_) makes trouble:

upload {fid: 7497}

File doesn't exist: /home/jj/web/www/sites/default/files/downloads/spring/games/the_core.sd7

dansan commented 13 years ago

Is this from https://github.com/springfiles/upq/blob/master/jobs/upload.py#L74 ? I tried with "./upq-cli.py upload fid:6029" on my machine, and there was no problem. (My DB:files:fid goes only until 6382). (/var/www/springfiles/sites/default/files/downloads/spring/games/cursed_111_0_0.sdz) Maybe this is a permission problem on a path below? Why is it "/home/jj/web/", instead of "/var/www/springfiles/"? -> PM me?)

abma commented 12 years ago

hmm, can't say what went wrong there... didn't happen again for a long time