From 20b7e3d259965ef27fb1db40930c80c767eedd4a Mon Sep 17 00:00:00 2001 From: kruland2607 Date: Wed, 18 Jul 2012 15:48:51 +0000 Subject: [PATCH] Fix url problems - bad host name, and bad servlet path - introduced by froyo merge. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@901 180e2498-e6e9-4542-8430-84ac67f01cd8 --- .../net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java b/android/src/net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java index 6d7fe350..3d9ac969 100644 --- a/android/src/net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java +++ b/android/src/net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java @@ -25,7 +25,7 @@ public abstract class ThrustCurveAPI { AndroidLogWrapper.d(ThrustCurveAPI.class, "doSearch: " + requestString); // Froyo has troubles resolving URLS constructed with protocols. Because of this // we need to do it in parts. - URL url = new URL("http", "www.thurustcurve.org", "servlets/search"); + URL url = new URL("http", "www.thrustcurve.org", "/servlets/search"); OutputStream stream; @@ -60,7 +60,7 @@ public abstract class ThrustCurveAPI { AndroidLogWrapper.d(ThrustCurveAPI.class, "downloadData: " + requestString); // Froyo has troubles resolving URLS constructed with protocols. Because of this // we need to do it in parts. - URL url = new URL("http", "www.thurustcurve.org", "servlets/download"); + URL url = new URL("http", "www.thrustcurve.org", "/servlets/download"); OutputStream stream; -- 2.47.2