sloonz / maildir-feed

Daemon which put RSS feeds into a maildir
ISC License
12 stars 3 forks source link

Use SHA-1 as cache filenames for long urls #6

Closed vlevit closed 9 years ago

vlevit commented 9 years ago

Some sites have ability to respond to queries with RSS, and sometimes those queries are very long. Since maildir-feed-rss uses urls as names for cache files, it will fail to write cache files on most file systems if url length > 255. The proposed change is to use SHA-1 checksums as cache filenames for long feed urls only.

sloonz commented 9 years ago

Merged, thanks for your contribution.

FYI however, I do not plan to maintain maildir-feed anymore, since https://github.com/sloonz/ua does the job better. I think I should put a notice in the README file of this project.