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

Token ending with LF and no CR are valid #68

Closed
wants to merge 1 commit into from

Conversation

mullerch
Copy link

@mullerch mullerch commented Jun 16, 2020

When the tc/cups.key file is used without a cert, http headers are expected, to specify for example a token.
As stated by the doc, one header by line is accepted and the lines must be ended with CRLF.

As the Basic Station is also intended to work on unix system, this PR allows for LF-only line ending too as commonly used in unix systems.

@mullerch mullerch force-pushed the token-unix-eol-support branch from 35244b5 to 3afa2ee Compare June 17, 2020 09:27
@beitler beitler closed this in ba4f85d Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant