Commit 9af8aaa0 by Adi Amir

bugfix: \n was removed from content bymistake

parent 76785094
group 'com.ipgallery.common' group 'com.ipgallery.common'
version '1.3.2' version '1.3.3'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
......
...@@ -263,7 +263,8 @@ public class SimpleHttpClient { ...@@ -263,7 +263,8 @@ public class SimpleHttpClient {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
String line = ""; String line = "";
while ((line = rd.readLine()) != null) { while ((line = rd.readLine()) != null) {
line = CleanUnexpectedCharacters(line); line = CleanUnexpectedCharacters(line);
line += '\n';
result.append(line); result.append(line);
} }
content = result.toString(); content = result.toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment