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

[3.0.2-pre] Thumbnail request fails with ampersand in filename #1028

Open
de-es opened this issue Sep 14, 2024 · 0 comments
Open

[3.0.2-pre] Thumbnail request fails with ampersand in filename #1028

de-es opened this issue Sep 14, 2024 · 0 comments

Comments

@de-es
Copy link

de-es commented Sep 14, 2024

Seadroid doesn't seem to send the right request to Seahub to get the thumbnail when there is an ampersand char in the filename.

Example from nginx log:

"GET /api2/repos/ad4309e9-b291-498d-9970-8d18cc0528ef/thumbnail/?p=/image%20with%20&%20in%20filename.jpg&size=128 HTTP/2.0" 400

Downloading the file works and the Seahub web interface doesn't have that problem.

Example from nginx log for Seahub for the same file:

"GET /thumbnail/ad4309e9-b291-498d-9970-8d18cc0528ef/48/image%20with%20%26%20in%20filename.jpg HTTP/2.0" 200

Other (image) files without ampersand work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants