[zanata/zanata-server] 84f4cb: Let the HTML filter encode all character entity re...
GitHub
noreply at github.com
Fri Jan 17 01:57:04 UTC 2014
Branch: refs/heads/html-adapter
Home: https://github.com/zanata/zanata-server
Commit: 84f4cb88cf607a7ad9d2dd9543a7fa5a305144bb
https://github.com/zanata/zanata-server/commit/84f4cb88cf607a7ad9d2dd9543a7fa5a305144bb
Author: Carlos A. Munoz <camunoz at redhat.com>
Date: 2014-01-14 (Tue, 14 Jan 2014)
Changed paths:
M zanata-war/src/main/java/org/zanata/adapter/OkapiFilterAdapter.java
M zanata-war/src/main/resources/org/zanata/adapter/HTMLAdapterDefaultConfiguration.yml
Log Message:
-----------
Let the HTML filter encode all character entity references.
This is done by modifying the 'escapeCharacters' parameter on the filter's default configuration, and changing the encoding used to produce these files to ascii.
Commit: 617f873933cc7d1c09c2bb5a458165c00940bd23
https://github.com/zanata/zanata-server/commit/617f873933cc7d1c09c2bb5a458165c00940bd23
Author: Carlos A. Munoz <camunoz at redhat.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Changed paths:
M zanata-war/src/main/java/org/zanata/adapter/HTMLAdapter.java
M zanata-war/src/main/java/org/zanata/adapter/OkapiFilterAdapter.java
M zanata-war/src/main/resources/org/zanata/adapter/HTMLAdapterDefaultConfiguration.yml
Log Message:
-----------
Make fedault output encoding be ASCII for the HTMLAdapter.
This is to force CERs (Character Entity References) to be present in the file, making it the safest option when displaying in a browser.
The file can still be converted to UTF-8 if desired using tools like 'encode' and the command line client's hooks.
Compare: https://github.com/zanata/zanata-server/compare/319d18f3e016...617f873933cc
More information about the zanata-commits
mailing list