From 5c854fd4c1198ecad65ca75e257789c5c58432cb Mon Sep 17 00:00:00 2001 From: Kevin Ruland 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. --- .../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 6d7fe3509..3d9ac9690 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;