Skip to content

fix(web-pkg): limit resource names to 255 bytes - #3589

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/resource-name-max-bytes
Oct 8, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/resource-name-max-bytes

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Name length: RESOURCE_NAME_MAX_BYTES is 255 like on the server. Before, a 256-byte name passed validation and failed with 400 on create/rename.
Before After
Create folder with 256 bytes b17 a17

Related Issue

  • No issue, found in the functional bug sweep of the web client

How Has This Been Tested?

  • test environment: local dev server, Playwright (Chromium)
  • create folder / rename: 256 bytes shows the inline error, 255 bytes works
  • unit tests added

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit d45bbc1 into main Oct 8, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/resource-name-max-bytes branch October 8, 2026 06:43
@openclouders openclouders mentioned this pull request Oct 8, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants