⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@benflexcompute
Copy link
Collaborator

@benflexcompute benflexcompute commented Jan 16, 2026

Note

Strengthens validation for output naming to prevent invalid filenames.

  • Introduces FileNameString with pydantic AfterValidator to reject /, null bytes, empty strings, and reserved names (./..)
  • Updates SurfaceIntegralOutput.name to use FileNameString with a clarified description
  • Adds tests (tests/simulation/outputs/test_filename_string.py) covering valid/invalid cases and SurfaceIntegralOutput name behavior

Written by Cursor Bugbot for commit 92a9e32. This will update automatically on new commits. Configure here.

@benflexcompute benflexcompute merged commit 4972513 into main Jan 16, 2026
21 checks passed
@benflexcompute benflexcompute deleted the BenY/FileNameValidaiton branch January 16, 2026 20:59
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