robrichards/xmlseclibs

$doc->isSame($this->sigNode) is always false

Closed this issue · 5 comments

Fix validate references for documents like 
<signature><object>data</object></signature>

Original issue reported on code.google.com by luisalbertolg@gmail.com on 13 Apr 2013 at 7:51

Attachments:

Attached patch and test case

Original comment by luisalbertolg@gmail.com on 13 Apr 2013 at 8:07

  • Added labels: ****
  • Removed labels: ****

Attachments:

Can you review this?

Original comment by lalag...@ibercheck.com on 19 Jun 2013 at 8:40

  • Added labels: ****
  • Removed labels: ****
I need to dig into that patch more as it doesn't cover all the possible cases 
that can happen when that function is called. I am trying to dig up the reason 
why I had originally done that (there was a specific use case). Didn't want 
this to hold up the 1.3.1 release as its been way too long but will plan on 
doing another cleanup release hopefully  before end of month which would 
include a fix for this issue.

Original comment by cdatazon...@gmail.com on 19 Jun 2013 at 8:57

  • Added labels: ****
  • Removed labels: ****
Ok, Thank you

Original comment by luisalbertolg@gmail.com on 19 Jun 2013 at 9:30

  • Added labels: ****
  • Removed labels: ****

I used a different fix for this which has better performance than using XPath.