You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): allow double-dot filenames while still blocking path traversal
Titles ending with a period (e.g. "Hi everyone.") produced filenames like
"hi-everyone..md" which the old substring check ('..' in path) incorrectly
blocked as path traversal. Fix by checking for ".." as a path segment only,
and strip trailing periods in sanitize_for_filename to prevent double-dot
filenames from being generated in the first place.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joe P <joe@basicmemory.com>
0 commit comments