1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-25 20:40:04 -05:00
Commit Graph

4 Commits

Author SHA1 Message Date
Aaron Ross
2b8a79e4b7 review changes 2021-01-04 07:24:40 -05:00
Aaron Ross
0d93a42626 support SGML OFX responses with no line breaks
Some financial institutions (*cough* Wells Fargo *cough*) export OFX files as a single line, which is technically valid according to the v1 spec. In order to parse them correctly, `readSGMLHeaders` now uses a regular expression that allows for all whitespace/line breaks to be optionally excluded.

A new sample response (wellsfargo.qfx) has been added to document this behaviour.
2021-01-04 07:24:40 -05:00
Martin Kobetic
0f6ceccd86 Work around missing blank line after last header
Detect when a newline doesn't follow the last header when parsing SGML and break out of the header-parsing loop early. Add an example .qfx file demonstrating the broken behavior we're working around and a test.
2019-01-04 11:18:55 -05:00
ff18c86aea Test parsing of some sample responses 2017-04-10 20:01:01 -04:00