press icon indicating copy to clipboard operation
press copied to clipboard

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

Open manavmandli opened this issue 1 year ago • 1 comments

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

manavmandli avatar May 16 '24 06:05 manavmandli

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

akhilnarang avatar Jun 04 '24 07:06 akhilnarang