mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
small fix for previous post
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5879 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
2eabd989ce
commit
6f5ea7b1a8
|
@ -62,6 +62,7 @@
|
|||
|
||||
var param = [
|
||||
{ name : 'lines', value : "200" }
|
||||
,{ name : 'json', value : "true" }
|
||||
,{ name : 'filter', value : ".*.*" }
|
||||
,{ name : 'reverse', value : "true"}
|
||||
];
|
||||
|
|
|
@ -151,7 +151,6 @@ public class serverObjects extends HashMap<String, String> implements Cloneable
|
|||
* @param key key name as String.
|
||||
* @param value a String that will be reencoded for JSON output.
|
||||
* @return the modified String that was added to the map.
|
||||
* @see htmlFilterCharacterCoding#encodeUnicode2json(String, boolean)
|
||||
*/
|
||||
public String putJSON(final String key, String value) {
|
||||
value = value.replaceAll("\"", "\\\"");
|
||||
|
|
Loading…
Reference in New Issue
Block a user