Git Product home page Git Product logo

Comments (3)

andyedinborough avatar andyedinborough commented on June 8, 2024

Yeah, I was afraid something like that would happen. The reason that it tries to detect if he line is a header instead of assuming all lines before two line breaks are headers is because I was trying to handle a case where headers had incorrect breaks -- 2 between each.

Instead of trying to detect a header, it should detect the spacing. I'll work on that tonight.

On Dec 6, 2011, at 8:53 AM, "Waldo2k2" [email protected] wrote:

The existence of the colon in the url causes the library to assume the line is a header if it's the first non-empty line in the body of the email. Is there a better way we could be determining if the current line being parsed contains a header?


Reply to this email directly or view it on GitHub:
#9

from aenetmail.

petersondrew avatar petersondrew commented on June 8, 2024

Any progress on this issue? We've worked around it for now, just curious if you came up with another method for parsing the headers.

from aenetmail.

andyedinborough avatar andyedinborough commented on June 8, 2024

Sorry about that, I got side tracked. :] I've just published a fix for the header issue. It will now follow standard and assume that a blank line is the end of headers instead of trying to handle a rare edge-case when the header line-endings are mangled.

Andy

-----Original Message-----
From: Waldo2k2 [mailto:[email protected]]
Sent: Wednesday, December 28, 2011 8:47 PM
To: Andy Edinborough
Subject: Re: [aenetmail] Urls in first line of plain text email are interpreted as headers (#9)

Any progress on this issue? We've worked around it for now, just curious if you came up with another method for parsing the headers.


Reply to this email directly or view it on GitHub:
#9 (comment)

from aenetmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.