webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.

Home Page:https://docs.webp.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webp server does not support file extension with parameter

bhzhu203 opened this issue · comments

I use Remote Backend to deal with url like this:

http://static-erp.selleroa.com/yfni/test/1632390393933a2d48d.jpg?x-oss-process=image/resize,w_570

But the output is for this file:

http://static-erp.selleroa.com/yfni/test/1632390393933a2d48d.jpg

The Backend is Aliyun OSS service with resize parameter .

By the way , does webp server support the file extension (capital letters) ".JPG" ".JPEG" ".PNG" ?

commented
  1. Indeed, query parameters should be passed to origin host.

  2. It supports uppercase extensions.

  1. Indeed, query parameters should be passed to origin host.

    1. It supports uppercase extensions.

Hello , could you fix the query parameters issue these days ? I want to use this webp_server to convert oss imges on the fly instead nginx plugins. : )

Hello, this issue will be fixed in #192.

@bhzhu203 Please have a try on version 0.7.0. 😃

It works ! thank you