mw icon indicating copy to clipboard operation
mw copied to clipboard

little bug in MergeCommand

Open esby opened this issue 12 years ago • 0 comments

There are two calls which seems wrong in my last tests:

pull_command.args = pagename.encode('utf-8') commit_command.args = pagename.encode('utf-8')

I am getting errors when trying to merge file whose filename contains accentued characters. UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)

I am assuming the encode("utf-8") which should not be here since it comes from the filesystem and not from a request.

I don't plan on using this command, so it won't really affect me.

esby avatar Jun 24 '12 19:06 esby