Skip to content

fix(storage): strip filename chars cross-platform + MD032 in CHANGELOG#82

Merged
4Keyy merged 1 commit into
mainfrom
claude/localfilestorage-filename-validation-qWxGb
May 27, 2026
Merged

fix(storage): strip filename chars cross-platform + MD032 in CHANGELOG#82
4Keyy merged 1 commit into
mainfrom
claude/localfilestorage-filename-validation-qWxGb

Conversation

@4Keyy

@4Keyy 4Keyy commented May 27, 2026

Copy link
Copy Markdown
Owner

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Refactor / code quality
  • Documentation
  • CI / infrastructure
  • Other:

Related issue

Closes #

Testing

  • Backend unit tests pass (dotnet test Planora.sln)
  • Frontend lint/type-check pass (npm run lint && npm run type-check)
  • Frontend tests pass (npm run test)
  • Manually tested the affected flow end-to-end

Checklist

  • No secrets, personal data, or local-only config committed
  • .env.example updated if new env vars were added
  • Documentation updated if behavior changed
  • CHANGELOG.md updated under ## Unreleased

LocalFileStorageService used Path.GetInvalidFileNameChars(), which on
Linux returns only NUL and '/'. A filename like "danger:name?.webp" was
left intact in the URL, so SaveBytesAsync_ShouldStripInvalidFilenameCharacters
failed on the Linux CI runner. Replace with an allow-list regex that
keeps only [A-Za-z0-9._-] — same behaviour on every host.

Also add the blank lines flagged by MD032 (lists-around-blanks) in
CHANGELOG.md so markdownlint-cli2 runs clean.

@4Keyy 4Keyy left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@4Keyy 4Keyy merged commit 52e55b8 into main May 27, 2026
22 of 28 checks passed
@4Keyy 4Keyy deleted the claude/localfilestorage-filename-validation-qWxGb branch May 27, 2026 04:49
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