mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
Fixed a regression in the QR Code encoder. The contents do not need to be run through URLEncoder first.
git-svn-id: https://zxing.googlecode.com/svn/trunk@690 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
977c2e38ca
commit
acd409b094
|
@ -30,7 +30,6 @@ import org.apache.http.HttpResponse;
|
|||
import org.apache.http.client.methods.HttpGet;
|
||||
|
||||
import java.net.URI;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
public final class QRCodeEncoder {
|
||||
|
||||
|
@ -163,7 +162,7 @@ public final class QRCodeEncoder {
|
|||
AndroidHttpClient client = null;
|
||||
try {
|
||||
String url = CHART_SERVER_URL + mPixelResolution + "x" + mPixelResolution + "&chl=" +
|
||||
URLEncoder.encode(mContents, "UTF8");
|
||||
mContents;
|
||||
URI uri = new URI("http", url, null);
|
||||
HttpGet get = new HttpGet(uri);
|
||||
client = AndroidHttpClient.newInstance(mUserAgent);
|
||||
|
|
Loading…
Reference in a new issue