svenstaro/miniserve

uploading area didn't show with mixed arguments '-vDFgHqruzWo'

Closed this issue · 3 comments

After updating Docker Image from 0.19.2 to 0.22.0, uploading area and "Download .zip", which worked fine on 0.19.2, disappeared.

image

Here is my configuration in docker-compose.yml:

services:
  miniserve-host:
    image: svenstaro/miniserve:0.22.0
    restart: always
    ports: 
      - 0.0.0.0:8977:8080
    command: ' -p 8080 -vDFgHqruzWo  -t":)" /data'
    volumes:
      - /xxx:/data
      - /etc/localtime:/etc/localtime:ro

Then I tried using a single -u (the command line became command: ' -p 8080 -u -vDFgHqrzWo -t":)" /data') and the uploading and "Download .zip" worked again.
image

It's weird that uploading worked before as it requires to be specifically activated. I guess you found a bug somehow in the old version but now it's fixed. Thanks for the report though I have no idea why you were able to upload stuff before.

Thanks. Maybe you should add "This argument requires to be specifically activated" to its manual for people who are used to using commands like tar -zxvf.

I added some explanation to the docs so this should hopefully be a bit clearer.