Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL

Bad Data in Loan - Crashing My API Client

Started by Peter, January 08, 2015, 11:00:00 PM

Previous topic - Next topic

avid investor

Multi-byte characters in the empTitle field of loan ID 38509961 is crashing my UTF-8 dependent client process.  Apparently this data is not checked when borrowers have finger-fumbles in applying for a loan.  Beware.  Hope he gets funded/rejected soon!

brycemason

    Other issues I've had to muddle through:

    • double quotes within double quotes in free text

    • within free text
    • double quotes being in the header row in REST but not in SOAP or CSV
    • free text being different between CSV and API versions (CSV cuts out special characters)



Fred

I use a CSV parser that can accept the RFC 4180 format (http://tools.ietf.org/html/rfc4180" class="bbc_link" target="_blank">http://tools.ietf.org/html/rfc4180), rarely encounter crashing issues.

heateds22

Why is it causing your program to fail? I don't see my client failing because of this ... Maybe you are using XML here? If so, I would suggest using JSON response as it is simple key value pairs.


AnilG

What was offending data in empTitle? It just says kitchen che f. https://www.peercube.com/comment?loanid=38509961" class="bbc_link" target="_blank">https://www.peercube.com/comment?loanid=38509961

I use JSON and API and I don't see any issue. It might be how you may be parsing data.

https://forum.lendacademy.com/index.php?topic=2948.msg26875#msg88888888Quote"> from: avid investor on January 13, 2015, 04:26:01 AM

NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL