You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Artemy Tregubenko (JIRA)" <ji...@apache.org> on 2008/08/23 16:33:44 UTC

[jira] Commented: (SHINDIG-528) Fix crypto in unicode environment

    [ https://issues.apache.org/jira/browse/SHINDIG-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625066#action_12625066 ] 

Artemy Tregubenko commented on SHINDIG-528:
-------------------------------------------

No, however we don't have full-featured installation yet. I believe there won't be more, as problems are usually in byte-arrays and regular expressions on non-ascii strings (preg_*). Looks like byte-arrays are fixed now and I didn't see many regexes in code.

> 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
>            Assignee: Chris Chabot
>            Priority: Minor
>         Attachments: unicode_crypto_patch.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.