wwivbbs / wwiv

WWIV BBS Software v5
http://www.wwivbbs.org
Other
186 stars 71 forks source link

Files with '&' in them on *nix #1613

Open apamment opened 1 year ago

apamment commented 1 year ago

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.

apamment commented 1 year ago

ss

i managed to get a screen shot

wwiv commented 11 months ago

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 11 months ago

quoting both %1 and %2 seem to work

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