Index: /trunk/BNC/bncgetthread.cpp
===================================================================
--- /trunk/BNC/bncgetthread.cpp	(revision 1297)
+++ /trunk/BNC/bncgetthread.cpp	(revision 1298)
@@ -261,8 +261,16 @@
   hlp.setPath(mountPoint.path());
 
-  QByteArray reqStr = "GET " + hlp.toEncoded() + " HTTP/1.0\r\n" 
-                    + "User-Agent: NTRIP BNC/" AGENTVERSION "\r\n"
-                      "Host: " + hlp.host().toAscii() + "\r\n"
-                    + userAndPwd + "\r\n";
+  QByteArray reqStr;
+  if ( proxyHost.isEmpty() ) {
+    if (hlp.path().indexOf("/") != 0) hlp.setPath("/");
+    reqStr = "GET " + hlp.path().toAscii() + " HTTP/1.0\r\n"
+             + "User-Agent: NTRIP BNC/" AGENTVERSION "\r\n"
+             + userAndPwd + "\r\n";
+  } else {
+    reqStr = "GET " + hlp.toEncoded() + " HTTP/1.0\r\n"
+             + "User-Agent: NTRIP BNC/" AGENTVERSION "\r\n"
+             + "Host: " + hlp.host().toAscii() + "\r\n"
+             + userAndPwd + "\r\n";
+  }
 
   // NMEA string to handle VRS stream
