mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-22 09:14:38 -04:00
Applied URL-decoding prior to HTML-encoding.
This removes percent-encoding from text shown in HTML
This commit is contained in:
@ -307,7 +307,7 @@ public class serverObjects implements Serializable, Cloneable {
|
||||
* @see CharacterCoding#encodeUnicode2html(String, boolean)
|
||||
*/
|
||||
public void putHTML(final String key, final String value) {
|
||||
put(key, value == null ? "" : CharacterCoding.unicode2html(value, true));
|
||||
put(key, value == null ? "" : CharacterCoding.unicode2html(UTF8.decodeURL(value), true));
|
||||
}
|
||||
|
||||
public void putHTML(final String key, final byte[] value) {
|
||||
|
Reference in New Issue
Block a user