-
-
Notifications
You must be signed in to change notification settings - Fork 676
max_file_size_bytes = 0 counts as limited file size #2408
Comments
Is that not rather a client issue? The spec says:
Or does 'null' not include zero in this case? |
It seems dendrite/setup/config/config_mediaapi.go Line 64 in a84f50f
dendrite/setup/config/config.go Lines 383 to 387 in a84f50f
We need to document this part correctly as I mentioned if using Lines 261 to 264 in bfa344e
|
Background information
go version
: -Description
What is the problem:
When
max_file_size_bytes
to0
, uploading file doesn't count as unlimited as intended. Fetching file from other servers counts as unlimited.Who is affected: -
How is this bug manifesting:
Set
max_file_size_bytes
to0
indendrite.yaml
config fileSteps to reproduce
max_file_size_bytes
to0
indendrite.yaml
config fileThe text was updated successfully, but these errors were encountered: