View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0021380||mantisbt||db postgresql||public||2016-07-19 10:16||2016-07-19 10:29|
|Summary||0021380: Cannot store file attachments in postgresql|
Files inserted in the database are mangled.
It looks like mantis performs a double-escaping: indeed, when you retrieve the file from the db, it starts with \x...
I had to patch the code like this:
this way the file is stored and retried correctly, but it's not a nice way to fix it (especially since any update will require me to patch it again).
I did try to change the bytea_output parameter as per 0012837 but it didn't help
|Tags||No tags attached.|