[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: bug report - linefeeds and PGP encrypted mv_credit_card_info
Quoting Brian Bullen (b.m.bullen@stir.ac.uk):
>
> I am wondering if others are having this problem - or if it's
> unique to my shop - I've had it will all recent versions of minivend
> (3.09 to 3.14).
>
> The mv_credit_card_info after PGP encryption contains multiple lines
> - on unix lines are separated by CR NL pairs.
>
> This is OK in the session database, but when stored in the userdb
> the NL are lost.
They aren't lost when stored, but they are lost when exported. After
all, we have to change newline to something unless you want the
import not to be readable. There is a CONTINUE UNIX capability, but
the exporter doesn't honor that.
If you re-import the DB after exporting (which you normally should not
do in UserDB) then you will see this.
I felt the least intrusive policy on an export/import was to use the
mac-style carriage return only. Suggestions are welcome, but this is a
hard one that has yet to be fully cracked by anyone that I know of.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 513.523.7621 FAX 7501 |_| \_\