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

Error encountered while previewing attached files with names containing '%' in the production server #1840

Open
manavmandli opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@manavmandli
Copy link

Information about bug

In the production server, when previewing a file with a name like "manav%mandli," the file preview is not displaying and an error like "400 bad request | nginx" is being displayed. However, in the local setup, it works properly. I tried to override the uploading function using the "urllib.parse" library, but the preview is still not displaying.

Module

other

Version

Frapper version-14 ERPNext version-14

Installation method

None

Relevant log output / Stack trace / Full Error Message.

400 Bad Request
nginx
@akhilnarang
Copy link
Member

Seems fine with werkzeug, just an issue with NGINX config most likely.

@akhilnarang akhilnarang transferred this issue from frappe/frappe Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants