Skip to content

Conversation

@LukasHirt
Copy link
Contributor

Description

This removes the leading dot from the file extension during registration. This fixes a bug where the COLLABORATION_WOPI_DISABLED_EXTENSIONS config was ignored. Technically, admins could set the env var with leading dots as well. However, documentation always specifies this without leading dots.

Motivation and Context

Extensions are correctly checked.

How Has This Been Tested?

  • test environment: macos, chrome
  • test case 1: disable pptx and check whether it is correctly skipped during registration
  • test case 2: disable pptx and check whether it is not available in Web client

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

This removes the leading dot from the file extension during registration.
This fixes a bug where the `COLLABORATION_WOPI_DISABLED_EXTENSIONS` config
was ignored. Technically, admins could set the env var with leading dots
as well. However, documentation always specifies this without leading dots.
@LukasHirt LukasHirt self-assigned this Nov 11, 2025
@sonarqubecloud
Copy link

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.

2 participants