Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixed #653
I fixed it the same way as node-saml Issue. (node-saml/node-saml#41)
There are some points that have been specially dealt with.
(1) In the following code, "match" was not used. The reason I did not use "match" in the following code is because, as shown in this Issue, if the comparison target is a string, an error like "TypeError: re.exec is not a function" will occur.
https://github.com/node-saml/passport-saml/pull/687/files#diff-855cb92ef30e211592bac8169dcf23d250f18e57f7f662bab42f31136b3794eeR234
(2) The following code does not use "startWith".The reason for this is that the same does not exist in chai as described in this article.
https://github.com/node-saml/passport-saml/pull/687/files#diff-855cb92ef30e211592bac8169dcf23d250f18e57f7f662bab42f31136b3794eeR165
Please let me know if there is anything else that needs to be fixed in addition to the above, so that I can fix it as soon as possible.
Checklist: