diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.31k stars 128 forks source link

Bug: {unknown_modifier} showing even though {file.size::bytes} is a valid modifier #532

Closed iiTranquility closed 7 months ago

iiTranquility commented 7 months ago

What happened?

Hi!

Currently using Zipline on Portainer, version latest 3.7.8 and currently the file size bytes modifier is showing as unknown when embedding via the Discord webhook. The embed when posting the link, shows the correct filesize in bytes.

This behaviour isn't present on 3.7.5, but is present on versions afterwards.

Discord_QrAviX4RA6

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)

Zipline Logs

It just shows the unknown modifier in logs.
so much data to go through.

Browser Logs

No response

Additional Info

No response

diced commented 7 months ago

should be fixewd in https://github.com/diced/zipline/commit/23ef407dd322add1ddcdbda7d5a81dfd4c6e79f7