Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relayable signatures for messages with invalid XML characters #95

Merged

Conversation

SuperTux88
Copy link
Member

Sometimes messages contain characters that are invalid for XML, but they are filteres out before creating the XML, otherwise the property would be empty in the XML.

But for relayables the value is also used for creating the signatures, so we need to filter the invalid characters earlier, before calculating the signature.

(This time @DeusFigendi broke it with this comment, which didn't federate. Thanks for breaking it 🍪 )

Sometimes messages contain characters that are invalid for XML, but they
are filteres out before creating the XML, otherwise the property would
be empty in the XML.

But for relayables the value is also used for creating the signatures,
so we need to filter the invalid characters earlier, before calculating
the signature.
@denschub denschub merged commit 58de2c2 into diaspora:develop Jan 25, 2018
@SuperTux88 SuperTux88 deleted the fix-invalid-signatures-for-relayables branch January 25, 2018 02:34
@DeusFigendi
Copy link

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants