Web editor allows characters which the client refuses to download

Description

It's possible to to insert (or paste) special unicode characters in the Zanata web editor which then cause a problem when downloading via the zanata client (xml).
One such character is the null character (\u0000)

Environment

None

Activity

Former user20 April 2018 at 00:24

We are closing all the old issues to have more clarity in our backlog for Zanata project. Feel free to re-open or leave a comment if you require our attention on your Jira.

Carlos Munoz3 December 2015 at 22:44
Edited

So, not to let this go cold... Zanata should check for invalid characters before saving any translation.

Sean Flanigan22 October 2015 at 07:01

Ah! So, not based on Lucene indexes then.

On 22 October 2015 at 16:56, Carlos Munoz (JIRA) <jira@zanata.atlassian.net>


Sean Flanigan

Principal Software Engineer
Globalisation Tools Engineering
Red Hat

Carlos Munoz22 October 2015 at 06:55

This was the editor's search. (top left corner of the editor)

Sean Flanigan22 October 2015 at 05:37

With Okapi files, it could be a problem if someone used the cli tools to
download a PO file for offline translation work. The Python client might be
okay, since JSON can generally escape any character.

I'm a little surprised that the indexer is indexing the invalid characters.
Which search function was that?

On 22 October 2015 at 13:55, Carlos Munoz (JIRA) <jira@zanata.atlassian.net>


Sean Flanigan

Principal Software Engineer
Globalisation Tools Engineering
Red Hat

Not Applicable

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

More fields

Created 21 October 2015 at 23:12
Updated 20 April 2018 at 00:30
Resolved 20 April 2018 at 00:30