[
https://issues.apache.org/jira/browse/COUCHDB-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208527#comment-15208527
]
ASF GitHub Bot commented on COUCHDB-2932:
-----------------------------------------
GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-fabric/pull/44
Filter out non-requested keys
It is possible that either keys in a view or keys in the request contain
invisible characters. This would mean that the requested keys and keys
in the result set are different.
We need to filter out the result set to remove keys which are not
requested.
COUCHDB-2932
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric
2932-filter-out-non-requested-keys
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/44.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #44
----
commit 82654e584222bc475fe46670d3275c335939da88
Author: ILYA Khlopotov <[email protected]>
Date: 2016-03-23T14:47:09Z
Filter out non-requested keys
It is possible that either keys in a view or keys in the request contain
invisible characters. This would mean that the requested keys and keys
in the result set are different.
We need to filter out the result set to remove keys which are not
requested.
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)