contrib/drivers/pgsql/pgsql_convert.go: If the byte type data contains 0x5D, it will be forcibly converted to 0x7D, causing problems with the stored data. #4231
Labels
bug
It is confirmed a bug, but don't worry, we'll handle it.
Go version
go 1.22.4
GoFrame version
gf 2.9.0
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
The image data contains 0x5D with bytea type.
What did you see happen?
It will be forcibly converted to 0x7D.
What did you expect to see?
This causes image parsing to fail by the function in the file contrib/drivers/pgsql/pgsql_convert.go.
The text was updated successfully, but these errors were encountered: