Rare find

Pathologize. Fix file paths so they work everywhere.

github.com/spf13/pathologize

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

July 2026
  • fix(cleanpath): sanitize UNC host and share names
  • docs(readme): document UTF-8 handling, UNC support, and path length
  • test: add fuzz tests, examples, and IsClean coverage
  • chore: remove stray commit message temp file
  • fix(join): drop structural segments instead of renaming them to 'file'
  • fix(cleanpath): preserve UNC host+share prefixes
  • fix(reserved): add superscript COM¹-³ and LPT¹-³ device names
  • fix(clean): stop stripping '@' and '!' from names
  • fix(clean): enforce Clean's invariants unconditionally
  • refactor: remove exported CharacterFilterRegex, make maxLength const
  • refactor(cleanpath): split into CleanPath (valid) and Join (safe)
  • fix(cleanpath): handle Windows separators and drive prefix
June 2026
  • Release —v1.0.0
  • fix: truncation bypass + zero-alloc fast paths
May 2026
  • remove .jules/ AI agent scaffolding from repository
  • fix reserved name bypass and pre-calculate reserved names list
  • fix(cleanpath): use forward slash as path separator on all platforms …
April 2026
  • fix(cleanpath): use forward slash as path separator on all platforms
  • fix: wire truncateFilename into Clean, fix UTF-8 rune boundary (#35)
  • Fix reserved-name bypass for compound extensions (.tar.gz) (#86)
  • perf: replace regex with native string operations in removeTrailing (…