Skip to content

additional validation#2486

Merged
monkeyiq merged 1 commit intofilesender:developmentfrom
monkeyiq:2026/jan/validation-patch-updated
Jan 4, 2026
Merged

additional validation#2486
monkeyiq merged 1 commit intofilesender:developmentfrom
monkeyiq:2026/jan/validation-patch-updated

Conversation

@monkeyiq
Copy link
Copy Markdown
Contributor

@monkeyiq monkeyiq commented Jan 4, 2026

This includes additional validation for creating transfers and guests. It should not effect normal use but is intended to chase explicitly nefarious use.

These options are enabled by default with the new settings

    'advanced_validation_create_transfer' => true,
    'advanced_validation_create_guest' => true,
    'advanced_validation_token' => true,
    'advanced_validation_user' => true,
    'advanced_validation_principal' => true,

There may be teething issues so being able to toggle things on or off is useful at the start. After a while these options may be removed and the advanced validation will always be performed.

I would have REALLY liked to use a schema validation language or framework to perform these tasks. Doing that is not inline with the wishes of the FileSender board.

This includes additional validation for creating transfers and guests.
It should not effect normal use but is intended to chase explicitly
nefarious use.

These options are enabled by default with the new settings

```
    'advanced_validation_create_transfer' => true,
    'advanced_validation_create_guest' => true,
    'advanced_validation_token' => true,
    'advanced_validation_user' => true,
    'advanced_validation_principal' => true,
```

There may be teething issues so being able to toggle things on or off
is useful at the start. After a while these options may be removed and
the advanced validation will always be performed.

I would have REALLY liked to use a schema validation language or
framework to perform these tasks. Doing that is not inline with the
wishes of the FileSender board.
@monkeyiq monkeyiq merged commit 0998b3e into filesender:development Jan 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant