question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

parseResult.extract.issuer duplicated

See original GitHub issue

https://github.com/tngan/samlify/blob/master/src/entity.ts#L253 gets thrown because issuer is twice with comma in parseResult.extract Here is results of “console.log(=====\n here is pR issuer:\n ${parseResult.extract.issuer});”:

“here is pR issuer: http://blah/asdf , http://blah/asdf

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mitakuyecommented, Jun 23, 2017

awesome. figured u’d dig in and find the “real” solution. thx a lot. great library.

1reaction
tngancommented, Jun 23, 2017

@haoleman I used libsaml.extract to test the input document, some trailing spaces are not trimmed and line break exists. If parseResult.extract.issuer is an array, when you parse it as string, it would be comma separated, but the libsaml.extract function is supposed to return an array if multiple instances exist.

I have made a patch and test for this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extract text from XML, but file has duplicated node-names
Im trying to import some data from an XML-file into an R data.frame. While I'm pretty experienced with R, I have never worked...
Read more >
version-control-tools: changeset 7295 ... - Mercurial
Find changesets by keywords (author, files, the commit message), revision number or hash, or revset expression. third_party: update packages and vendor `six` ( ......
Read more >
Web Development Jumpstart - WordPress.com
Web application development is a broad subject. As such, this book makes a few assumptions and only covers core technologies that are fundamental...
Read more >
Remove/extract duplicate elements from list in Python
This article describes how to generate a new list in Python by removing and extracting duplicate elements from a list.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found