Skip to content

fix: Normalize all line endings#314

Merged
karfau merged 6 commits into
masterfrom
49-more-linebreaks
Sep 9, 2021
Merged

fix: Normalize all line endings#314
karfau merged 6 commits into
masterfrom
49-more-linebreaks

Conversation

@karfau

@karfau karfau commented Aug 31, 2021

Copy link
Copy Markdown
Member

@karfau karfau requested a review from brody2consult August 31, 2021 21:26
@karfau karfau added this to the 0.8.0 milestone Aug 31, 2021
@karfau karfau added the breaking change Some thing that requires a version bump due to breaking changes label Sep 1, 2021
@karfau karfau merged commit 8d48d30 into master Sep 9, 2021
@karfau karfau deleted the 49-more-linebreaks branch September 9, 2021 06:09
@karfau karfau linked an issue Sep 16, 2021 that may be closed by this pull request
@karfau karfau linked an issue Sep 16, 2021 that may be closed by this pull request
mcab added a commit to Clever/saml2 that referenced this pull request Oct 15, 2022
For [0].

Any usage of @xmldom/xmldom >= 0.8.0 will normalize these. See [1] and [2].

The current xml-encryption (2.0.0) does not do this normalization, but will
in 2.0.1 [3]. It's technically within the path of xmlenc.decrypt() [4], but
this follows how assertions have been handled (not handling non-normalized
whitespace).

[0] https://github.com/Clever/saml2/blob/6da3e9c39c326a2f6793bb87c6d12c9ab4446585/lib/saml2.coffee#L242-L245
[1] xmldom/xmldom#307
[2] xmldom/xmldom#314
[3] auth0/node-xml-encryption#101
[4] https://github.com/auth0/node-xml-encryption/blob/291f3f10d5d1d571a3b6da2d411aa323398f5650/lib/xmlenc.js#L185
mcab added a commit to Clever/saml2 that referenced this pull request Oct 15, 2022
For [0].

Any usage of @xmldom/xmldom >= 0.8.0 will normalize these, see [1] and [2].

The current xml-encryption (2.0.0) does not do this normalization, but will
in 2.0.1 [3]. It's technically within the path of xmlenc.decrypt() [4], but
this follows how assertions have been handled (not handling non-normalized
whitespace).

For xml-crypto, this was changed in 3.0.0 with [5].

[0] https://github.com/Clever/saml2/blob/6da3e9c39c326a2f6793bb87c6d12c9ab4446585/lib/saml2.coffee#L242-L245
[1] xmldom/xmldom#307
[2] xmldom/xmldom#314
[3] auth0/node-xml-encryption#101
[4] https://github.com/auth0/node-xml-encryption/blob/291f3f10d5d1d571a3b6da2d411aa323398f5650/lib/xmlenc.js#L185
[5] node-saml/xml-crypto#261
mcab added a commit to Clever/saml2 that referenced this pull request Oct 15, 2022
For [0].

Any usage of @xmldom/xmldom >= 0.8.0 will normalize these, see [1] and [2].

The current xml-encryption (2.0.0) does not do this normalization, but will
in 2.0.1 [3]. It's technically within the path of xmlenc.decrypt() [4], but
this follows how assertions have been handled (not handling non-normalized
whitespace).

For xml-crypto, this was changed in 3.0.0 with [5].

[0] https://github.com/Clever/saml2/blob/6da3e9c39c326a2f6793bb87c6d12c9ab4446585/lib/saml2.coffee#L242-L245
[1] xmldom/xmldom#307
[2] xmldom/xmldom#314
[3] auth0/node-xml-encryption#101
[4] https://github.com/auth0/node-xml-encryption/blob/291f3f10d5d1d571a3b6da2d411aa323398f5650/lib/xmlenc.js#L185
[5] node-saml/xml-crypto#261
mcab added a commit to Clever/saml2 that referenced this pull request Oct 15, 2022
For [0].

Any usage of @xmldom/xmldom >= 0.8.0 will normalize these, see [1] and [2].

The current xml-encryption (2.0.0) does not do this normalization, but will
in 2.0.1 [3]. It's technically within the path of xmlenc.decrypt() [4], but
this follows how assertions have been handled (not handling non-normalized
whitespace).

For xml-crypto, this was changed in 3.0.0 with [5].

[0] https://github.com/Clever/saml2/blob/6da3e9c39c326a2f6793bb87c6d12c9ab4446585/lib/saml2.coffee#L242-L245
[1] xmldom/xmldom#307
[2] xmldom/xmldom#314
[3] auth0/node-xml-encryption#101
[4] https://github.com/auth0/node-xml-encryption/blob/291f3f10d5d1d571a3b6da2d411aa323398f5650/lib/xmlenc.js#L185
[5] node-saml/xml-crypto#261
gkwang added a commit to auth0/node-xml-encryption that referenced this pull request Oct 18, 2022
add semgrep support
uodate xmldom
breaking changes in xmldom:
xmldom/xmldom#310
xmldom/xmldom#314
xmldom/xmldom#307
gkwang added a commit to auth0/node-xml-encryption that referenced this pull request Oct 18, 2022
add semgrep support
uodate xmldom
breaking changes in xmldom:
xmldom/xmldom#310
xmldom/xmldom#314
xmldom/xmldom#307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Some thing that requires a version bump due to breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

excessive cpu load(Infinite) Parser locks up on long input lines DOMParser does not normalize line breaks

1 participant