Remove canonix dependency#97
Conversation
|
+1 for this. This has caused me a lot of grief with attributes. Canonix is rearranging and in some cases removing attributes. This causes the digests to fail. Nokogiri (for some reason) seems to be able to deal with this situation more consistently. |
|
Lol, I forgot about this! It's failing but not because of my change :) |
|
I would really like to see this fixed, I am also running into digest mismatch errors. |
|
Hi Douglas, this library is no longer maintained and isn't actively used in On Wed, Feb 5, 2014 at 6:52 PM, Douglas Teoh notifications@github.comwrote:
|
|
Hmmm, OK, I was really hoping that this was the source of the the digest mismatch issues that I'm encountering sporadically. I'm indirectly using ruby-saml through omniauth-saml. |
|
The only thing I can think of is that omniauth-saml is using an old version On Wed, Feb 5, 2014 at 7:52 PM, Douglas Teoh notifications@github.comwrote:
|
|
IIRC, it is using ruby-saml v0.7.2. I'm using omniauth-saml v1.1.0. |
|
Yea, that's pretty weird, I definitely know they don't use our functions On Wed, Feb 5, 2014 at 8:33 PM, Douglas Teoh notifications@github.comwrote:
|
|
Today, I traced it down to what I believe is a multiple encoding/decoding bug involving ampersand literals. I'm not sure whether ruby-saml is at fault, the SAML setup (I'm bridging with another SAML provider), or the SAML software (SimpleSAMLphp). I can see that the history of |
|
Thanks Douglas, glad to hear you're close to figuring it out :) Close the Cheers, Brendon On Thu, Feb 6, 2014 at 9:09 PM, Douglas Teoh notifications@github.comwrote:
|
|
Lol, I didn't realise I was replying to this pull request from the email :) Yes having canonix listed as a gem in this project is still a problem. I've rebased and the tests run fine now. You can merge :) |
Remove canonix dependency
|
@brendon thanks for the changes 👍 sorry we took so long to merge! |
|
You're welcome :) |
Glad to see that Nokogiri has canonicalisation support now! You can safely remove the canonix dependency :)