Skip to content

fix: resolve multiple bugs across codebase#61

Merged
ewgsta merged 1 commit into
mainfrom
fix/bug-fixes
Jun 21, 2026
Merged

fix: resolve multiple bugs across codebase#61
ewgsta merged 1 commit into
mainfrom
fix/bug-fixes

Conversation

@ewgsta

@ewgsta ewgsta commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix test conflict: test_sanitizer.py expected 'unnamed' but code returns 'untitled'
  • Fix test_sanitizer_security path traversal assertions to match actual behavior
  • Fix sanitizer Unicode loss: replace ASCII-only encoding with NFKC normalization (critical for anime CLI with Japanese/Turkish titles)
  • Add ttl parameter to CacheManager.set() to fix TypeError in aniskip.py
  • Fix e.response AttributeError in base.py when response is None (ConnectionError/Timeout)
  • Fix config.set() crash in headless mode with in-memory store fallback
  • Fix cross-filesystem rename in headless_downloader using shutil.move()

Tests

All 29 related tests pass after these changes.

- Fix test conflict: test_sanitizer.py expected 'unnamed' but code returns 'untitled'
- Fix test_sanitizer_security path traversal assertions to match actual behavior
- Fix sanitizer Unicode loss: replace ASCII-only encoding with NFKC normalization
- Add ttl parameter to CacheManager.set() to fix TypeError in aniskip.py
- Fix e.response AttributeError in base.py when response is None
- Fix config.set() crash in headless mode with in-memory store fallback
- Fix cross-filesystem rename in headless_downloader using shutil.move()

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@ewgsta ewgsta merged commit 6653c91 into main Jun 21, 2026
0 of 6 checks passed
@ewgsta ewgsta deleted the fix/bug-fixes branch June 21, 2026 14:37
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.

1 participant