Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path too long #630

Open
v0l opened this issue Jan 7, 2025 · 0 comments · May be fixed by #631
Open

Path too long #630

v0l opened this issue Jan 7, 2025 · 0 comments · May be fixed by #631

Comments

@v0l
Copy link

v0l commented Jan 7, 2025

ImageCache uses an encoded url as the filename which can be too long:

https://dvr.zap.stream/zap-stream-dvr/fd6f5dfa-7e74-46df-8147-294bac1e75cd/thumb.jpg?AWSAccessKeyId=2gmV0suJz4lt5zZq6I5J&Expires=33293080344&Signature=nSrAmEtxDg5CvMwbGFZhmBxsqeY%3D

maps to:

/home/kieran/.config/app/cache/img/D1T78W3K78QJYS3PE8Q7MRBG5SSQ8WK5C5PJYYK1E0PQ6X3JCNGPTBB4ESS2YSK46SK3AS36C4PKES9Q6GPK8DK4CRPKGC9M6WPK4E9MC9GP6CB56WTP6S1FEHM7AVB25SN70SSZ85BN6GB3CDJQ6WTBCNWMJS1X69KPTNHGEDTMMYHMDHT3AYJTE4V4JDAA4S2QGW39E9JQ6F9K6CS3JCSG70R36D1M4S9PJSVEC5T7AWK57NQ56WJ1DN2Q8Y24CWTM6XJDEXH4EHJTD1PM4Y3KE5JNJ99K8G

Suggestion:
use sha2 pkg to hash the url

@v0l v0l linked a pull request Jan 7, 2025 that will close this issue
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 a pull request may close this issue.

1 participant