aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view.rb
diff options
context:
space:
mode:
authorAdam Majer <adamm@zombino.com>2008-09-19 21:38:39 -0500
committerMichael Koziarski <michael@koziarski.com>2008-10-25 12:54:48 +0200
commit932dffc559ef188eb31d0223116e9da361833488 (patch)
tree3b0afabc3f70537b143b8c468182bcc329bbb4c9 /actionpack/lib/action_view.rb
parent5c97d4ff29cfd944da751f01177a3024626d57bb (diff)
downloadrails-932dffc559ef188eb31d0223116e9da361833488.tar.gz
rails-932dffc559ef188eb31d0223116e9da361833488.tar.bz2
rails-932dffc559ef188eb31d0223116e9da361833488.zip
Fix binary data corruption bug in PostgreSQL adaptor
1. Move the binary escape/unescape from column to the driver - we should store binary data AR just like most other adaptors 2. check to make sure we only unescape bytea data PGresult.ftype( column ) == 17 that is passed to us in escaped format PGresult.fformat( column ) == 0 Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1063 state:committed]
Diffstat (limited to 'actionpack/lib/action_view.rb')
0 files changed, 0 insertions, 0 deletions