couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-760) Put attachments with cyrillic names is fail.
Date Fri, 04 Feb 2011 17:22:31 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis updated COUCHDB-760:
--------------------------------------

    Attachment: COUCHDB-760.patch

This isn't quite right. That "is_valid_utf8" function is definitely not at all near correct.
Luckily there's a version that is in couch_util. Just replacing it should make things work
but I'm having issues getting the test to pass and its nearly lunch time.

If you can write up a failing test that this fixes and attach that I'll commit this later
this afternoon.

> Put attachments with cyrillic names is fail.
> --------------------------------------------
>
>                 Key: COUCHDB-760
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-760
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.11
>         Environment: Distributor ID:	Ubuntu
> Description:	Ubuntu 9.10
> Release:	9.10
> Codename:	karmic
>            Reporter: Antonio
>              Labels: attachments
>         Attachments: COUCHDB-760.patch, couchdb_760.patch
>
>
> I try upload any file with cyrillic name(like Колян.txt) and its fail 
> i try with futon.
> And create test http://friendpaste.com/WrVoFIOZb3T5r70Fz8XWB (see line 22):
> this test is fail with # Exception raised: {"error":"bad_request","reason":"Attachment
name is not UTF-8 encoded"}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message