gabriel / musehub public
fix BREAKING task/dotfile-path-validation #1 / 1
gabriel · 165 days ago · Apr 13, 2026 · Diff

fix: allow dotfiles in FilePathParam — update _FILE_PATH_RE to accept leading dot segments

sha256:ac67fae10519e78e1f68a2a79e9d54bd4a53016990086b4cdacc6e3f31c237fb sha
+8 ~2 −1 symbols
sha256:a940cfcbeddb1ea32201f1b53a358eed7b38632a3844ed474458b100b7b38660 snapshot
+8
symbols added
~2
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 11 symbols
+ deploy
+ docs
+ src
+ src/ts
+ tests
+ tools
~ musehub/api/validation.py .py 1 symbol added, 1 symbol modified
+ _SEGMENT variable variable _SEGMENT L40–40
~ tests/test_url_validation.py .py 7 symbols added, 1 symbol removed, 1 symbol modified
− test_rejects_leading_dot method method test_rejects_leading_dot L163–164
+ test_accepts_dotfile_muse_internal method method test_accepts_dotfile_muse_internal L181–182
+ test_accepts_dotfile_nested method method test_accepts_dotfile_nested L178–179
+ test_accepts_dotfile_root method method test_accepts_dotfile_root L175–176
+ test_rejects_bare_dot method method test_rejects_bare_dot L172–173
+ test_rejects_dotdot_leading_segment method method test_rejects_dotdot_leading_segment L169–170
+ test_rejects_dotdot_segment method method test_rejects_dotdot_segment L166–167
+ test_rejects_dotdot_standalone method method test_rejects_dotdot_standalone L163–164
← Older Oldest on task/dotfile-path-validation
All commits
Newer → Latest on task/dotfile-path-validation

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:ac67fae10519e78e1f68a2a79e9d54bd4a53016990086b4cdacc6e3f31c237fb --body "your comment"