Skip to content

Can't open WebDAV folders or files with non ASCII characters #11

@diggy128

Description

@diggy128

I tried moving to webdav_fast to also use your other cardav modules but have come up to following bug:
If the folder that is to be browsed contains non ascii characters I can't enter into.
The console just outputs:
'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128) 2016-05-07 20:49:04,852 31171 INFO ******* werkzeug: 127.0.0.1 - - [07/May/2016 20:49:04] "PROPFIND /webdav/*********/%CE%92%CE%B9%CE%B2%CE%BB%CE%B9%CE%BF%CE%B8%CE%AE%CE%BA%CE%B7/ HTTP/1.1" 404 -

A similar message appears when trying to access (aka read) files that contain non ascii characters and a message shows that the file does not exist (although it exists and is visible from odoo backend).

I'm guessing this has to do with how folder/file names are handled and most likely can be easily fixed.

I'm using openERP v7.
Any chance of providing a patch?

PS. The old document_webdav from odoo works fine with all folders and files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions