wwivbbs/wwiv

Files with '&' in them on *nix

Opened this issue · 3 comments

I've been importing files.bbs files into my bbs, and came across some files with '&' signs in them..

WWIV executes bash to unzip and check for a file_id.diz, but it doesn't seem to escape the & sign so it seems to think it's two commands or something like that.

ss

i managed to get a screen shot

wwiv commented

Thanks, Can you try editing the unzip command inside of wwivconfig to quote the value after -C and let me know if that does it? If so, I'll make the change in the dist

wwiv commented

quoting both %1 and %2 seem to work

 unzip  -o -j -C "wwiv424s.zip" "FILE_id.diz"
Archive:  wwiv424s.zip
  inflating: FILE_ID.DIZ