[ 
https://issues.apache.org/jira/browse/COUCHDB-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213014#comment-15213014
 ] 

ASF subversion and git services commented on COUCHDB-2932:
----------------------------------------------------------

Commit 1be5506e39baa3b4c7b3d64daf8032a5580b38ba in couchdb-fabric's branch 
refs/heads/master from [~banjiewen]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-fabric.git;h=1be5506 ]

Use ICU to compare POSTed view keys when necessary

It's possible for user-supplied view keys to compare equal under ICU
collation but not under Erlang's =:=. Since dict uses =:= for equality
this will result in runtime errors unless we fall back to ICU when
necessary and appropriate.

COUCHDB-2932


> View query crashes if the emited key contains hidden characters
> ---------------------------------------------------------------
>
>                 Key: COUCHDB-2932
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2932
>             Project: CouchDB
>          Issue Type: Bug
>          Components: View Server Support
>            Reporter: ILYA
>            Priority: Blocker
>              Labels: regression
>             Fix For: 2.0.0
>
>         Attachments: invisible_char.sh
>
>
> In the cases where map function of the view emits invisible characters such 
> as U+200B. Subsequent query of the view with the keys not containing 
> invisible characters returns `badarg`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to