Fix crypto in unicode environment
---------------------------------

                 Key: SHINDIG-528
                 URL: https://issues.apache.org/jira/browse/SHINDIG-528
             Project: Shindig
          Issue Type: Improvement
          Components: Common Components (PHP)
         Environment: PHP uses mbstring.func_overload set to 7
            Reporter: Artemy Tregubenko
            Priority: Minor
         Attachments: unicode_crypto_patch.diff

This PHP setting automagically makes many string functions to work in 
unicode-compatible mode. However it's not very good when strings are used as 
byte arrays. Currently BasicBlobCrypter and Crypto classes do this, and thus 
are not compatible with this option. Attached patch fixes this. 

Also there're 2 more small fixes: protected, not private access for overridable 
config variables, removal of require of Crypto in BasicBlobCrypter, as it's 
autoloadable but may be not available at given path. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to