Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rfc 5545 3.1 content lines length limit #63

Open
andrewbrereton opened this issue Feb 11, 2024 · 0 comments
Open

Implement rfc 5545 3.1 content lines length limit #63

andrewbrereton opened this issue Feb 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@andrewbrereton
Copy link
Owner

https://datatracker.ietf.org/doc/html/rfc5545#section-3.1

Lines of text SHOULD NOT be longer than 75 octets, excluding the line break. Long content lines SHOULD be split into a multiple line representations using a line "folding" technique. That is, a long line can be split between any two characters by inserting a CRLF immediately followed by a single linear white-space character (i.e., SPACE or HTAB). Any sequence of CRLF followed immediately by a single linear white-space character is ignored (i.e., removed) when processing the content type.

For example, the line:

DESCRIPTION:This is a long description that exists on a long line.

Can be represented as:

DESCRIPTION:This is a lo
 ng description
  that exists on a long line.
@andrewbrereton andrewbrereton self-assigned this Feb 18, 2024
@andrewbrereton andrewbrereton added the enhancement New feature or request label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant